[jQuery] Re: How do I create object from loading JS in right time?

2007-06-19 Thread Benjamin Sterling
John, yes the order of importance does matter. javascript, like html, works from top to bottom. On 6/19/07, John Farrar <[EMAIL PROTECTED]> wrote: Or perhaps the order of the includes is more important! Sorry, my err. Matt Stith wrote: $(document).ready works in external files, as long as j

[jQuery] Re: How do I create object from loading JS in right time?

2007-06-19 Thread John Farrar
Or perhaps the order of the includes is more important! Sorry, my err. Matt Stith wrote: $(document).ready works in external files, as long as jquery is included on the page. On 6/18/07, *John Farrar* <[EMAIL PROTECTED] > wrote: I need to JS I am loading to cr

[jQuery] Re: How do I create object from loading JS in right time?

2007-06-18 Thread Matt Stith
$(document).ready works in external files, as long as jquery is included on the page. On 6/18/07, John Farrar <[EMAIL PROTECTED]> wrote: I need to JS I am loading to create the object instance only after the DOM is loaded. What is the correct command? I want to initialize this from the include