View Single Post
Old 10-18-2010, 06:05 PM   #6
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
Quote:
Originally Posted by kovidgoyal View Post
My guess is that $(document.ready) is never being called, because the javascript is no loaded after that event fires. Try just putting your code at the top level
But it is being called. The sequence seems to be like this:
1-document flow is loaded
2-a javascript aware document is rendered. One can test it using $(document).ready(function(){ alert('ready fired'); });
3-javascript is unloaded
4-document is rendered again
5-javascript is loaded

But all this is only important if it was some bug, otherwise please ignore it.
I’m simply sorry that can not contribute more…
pollito pito is offline   Reply With Quote