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
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
2 matches
Mail list logo