Christopher Jordan schrieb:
> 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.
That's grouping of CSS selectors. I explained that in another response
to one of your mails (see subject "A couple of simple questions.") -
seems that you have missed that.
Grouping:
http://www.w3.org/TR/CSS21/selector.html#grouping
Selectors:
http://www.w3.org/TR/CSS21/selector.html
- Klaus
>
> 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/
--
___________________________________
Dipl.-Ing. Klaus Hartl
Email [EMAIL PROTECTED]
Sredzkistraße 20, 10435 Berlin
Phone +49 (0)30 4985 3209
Mobile +49 (0)176 2125 5168
Web http://www.stilbuero.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/