On 11/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> > I also have never seen something like: $("#editarticle/form :input")
> > before. Can this be extended like:
> > $("#editarticle/form :[EMAIL PROTECTED]'text']") ?
>
> I don't think so. ":input" is a shortcut for all kind of form elements.
> If you need all inputs with a text type, just use this:

Be careful with :input.  It selects button elements too and resetting
the button element's value to "" is probably not what you want to do.

Mike

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to