I'm using .live()
, and I'm trying to debug a weird error where jQuery Tools Overlay breaks all of the .live
handlers on the page, except for ones with the context (second argument of jQuery select $(selector, context)
) specified. So my specific question is how to find where this context is when it's not specified.
views:
26answers:
1
+1
A:
Non-specified context defaults to document
.
By default, selectors perform their searches within the DOM starting at the document root. However, an alternate context can be given for the search by using the optional second parameter to the $() function.
kingjeffrey
2010-07-29 16:05:47