use $(window).load. I think it will work Thanks Rupak
On Wed, Sep 9, 2009 at 3:13 PM, binarious <mar...@simple-co.de> wrote: > > Hey, > I have an alert(); in a document.ready function. Sometimes the alert > appears after my image on this page is loaded and sometimes it appears > before. What can I do, that this javascript-part is really executed > AFTER everything is loaded? > > Greeting from binarious >