Richard D. Worth-2 wrote:
> 
>> I haven't found anywhere in the docs that talks about using this selector
>> thing $() with two arguments. What exactly is going on there?
> 
> 
> See http://docs.jquery.com/Core#.24.28_expr.2C_context_.29
> 
> "By default, if no context is specified, $() looks for DOM elements within
> the context of the current HTML document. If you do specify a context,
> such
> as a DOM element or jQuery object, the expression will be matched against
> the contents of that context."
> 
> - Richard
> 
> 

Excellent. Thanks, I missed that one.

E

-- 
View this message in context: 
http://www.nabble.com/Better-way-to-select-parent-form--tf4107139s15494.html#a11681573
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to