[jQuery] when is what ready?

[jQuery] when is what ready?

Hi jQuery,<div>
</div><div>I assumed when I used the <br clear="all">
</div><div>$(function() {</div><div>alert( "hello" );</div><div>});</div><div>
</div><div>that the page was finished loading? but what I see is that the popup alert comes before my images on my page</div>
<div>are finished loading? is this correct?</div><div>
</div><div>I need to do something to my page when everything is done loading.. how does one do that?</div><div>
</div><div>Peter</div><div>
--
Power Tumbling - <a href="http://www.powertumbling.dk">http://www.powertumbling.dk</a>
OSG-Help - <a href="http://osghelp.com">http://osghelp.com</a>
</div>