> 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:

$("#editarticle/form [EMAIL PROTECTED]'text']")


> This line was also new for me:
> 
> $('textarea, [EMAIL PROTECTED]', form).val('');
> 
> So i can use the "," inside a selection to add another selection ?

jQuery supports CSS selectors. You can group selectors together like:

h1, h2, h3 {
     color: red;
}

Thus jQuery supports that too.


-- Klaus


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

Reply via email to