[jQuery] Re: storing jquery object in array

2008-04-04 Thread chrismarx
with dom elements that actually exist, your example works fine. perhaps there is a problem elsewhere... On Apr 3, 8:19 pm, ScottBruin [EMAIL PROTECTED] wrote: Please pardon my poor understanding of javascript basics: I've been using the following method to create an object array of

[jQuery] Re: storing jquery object in array

2008-04-04 Thread Danny
You're probably assigning to searchbox before the #searchinput element exists: head script $.searchfunction = { searchbox: $('#searchinput) } // empty jQuery object because body hasn't been created yet /script /head body div id=searchinput/div script console.log