(I have already sent this message but somehow it got marked as spam??!)
Schematically I have the following page: <html> <head> <script type="text/javascript"> $(document).ready(function() { alert("DOM ready"); }); </script> </head> <body> <table> <tr> <td>Menu</td> <td><iframe src="content.jsp"></td> </tr> </table> </body> </html> content.jsp sleeps for 10 seconds, then outputs a simple page. In IE (7), the alert shows when we have waited the 10 seconds from content.jsp. In other words, the DOM is ready when the DOM for the iframe is also ready. In FF (2), the alert is fired when the page itself is loaded. It doesn't wait the 10 seconds for content.jsp. Can anyone confirm this behaviour? This seems like a bug to me. For now, the only solution for me is to include the script part inline at the end of the page, after the iframe. Regards, Jesse. -- View this message in context: http://www.nabble.com/document.ready-inconsistent-behaviour-IE-FF--%3E-bug--tf4670353s27240.html#a13341722 Sent from the jQuery General Discussion mailing list archive at Nabble.com.