[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-09 Thread Sasha Sklar
I came across this issue while looking at LAB.js. Is this known to be fixed in latest nightly? From what I can tell document.ready still won't fire if jQuery is loaded after DOM Ready has occurred. Here's my test code: // make sure dom ready has already happened by attaching an event to old schoo

[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-09 Thread Sasha Sklar
$(document).ready(function() { console.log('dom ready functions should fire now'); }); } }; head.appendChild(script); }; Maybe I'm missing something? I think this is going to be a big