Hi Christopher,

The full list of selector expression can be found on the jquery.com wiki:
http://jquery.com/docs/Base/Expression/

The :input selector in particular can be found in the custom jQuery selector page:
http://jquery.com/docs/Base/Expression/Custom/

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


On Jan 6, 2007, at 6:39 PM, Christopher Jordan wrote:

Well, while I'd still like to know if this selector was added to the API, I did find a solution to my problem.

$("input:text,input:hidden,select,textarea")

Where is this sort of thing documented? I mean, all the API says (unless I'm missing it somewhere) is that you can do $("input") to get all input elements. It mentions nothing about being able to string them together in a comma delimited list like this.

This is the sort of thing that would be nice to know, not to have to dig too much to find it... just my .02 I guess. :o)

Cheers,
Chris

Christopher Jordan wrote:
What every happened to this :input selector. It sounded like John put it in the core, but I can't seem to figure out how to use it. I need to select all
inputs of type text and hidden, as well as all selects and textareas.

Can anyone give me a quick hand with this?

Thanks,
Chris


Jörn Zaefferer wrote:

Hi,

I'd like to have a selector ":input" that selects all input elements of
type
text, checkbox, radio and file and all textareas.
The jQuery.g object looks like it could be extended to provide this
selector, unfortnately I have no idea how to do it.
My approach looks like this:
$.g.[":"].input = "...";
The jQuery.g object is used inside jQuery.filter, which is used by
jQuery.select. Both methods are quite complex and undocumeted, I have no idea what is going on in there, therefore I could need some help writing
that custom grammar...

-- Jörn

P.S.: Think of dem pupps!


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





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

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

Reply via email to