On 7/18/07, jarrod <[EMAIL PROTECTED]> wrote:

I don't understand this part:

>     var input = $('[EMAIL PROTECTED]', form);

Specifically this: "$('[EMAIL PROTECTED]', form);"

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

Reply via email to