>Sorry for the long-winded, rambling question, but basically I'm asking if >there's any documentation for what can be used within $(here) and if there >isn't, is there a good rule of thumb to follow as far as what's supported?
Check here: http://jquery.com/docs/CSS/ >>> "Jeffrey Gould" <[EMAIL PROTECTED]> 08/18/06 11:49 AM >>> Is this syntax strictly css3 pseudo-class stuff? I'm not very familiar with that but it seems like it could be ridiculously powerful. what is the extent to exactly what is supported and what isn't? And what's with the @ symbols ([EMAIL PROTECTED]'checkbox']) and I think I even saw someone put a $ symbol in there? can you chain pseudo-classes and pseudo-selectors ( $([EMAIL PROTECTED]'foo'[EMAIL PROTECTED]'_TOP']) )? Do sibling selectors and adjacent selectors work (p > a)(ul + ol)? Sorry for the long-winded, rambling question, but basically I'm asking if there's any documentation for what can be used within $(here) and if there isn't, is there a good rule of thumb to follow as far as what's supported? Thanks, -Jeff ps: sorry if this is a little beyond the scope of the original discussion thread. On 8/18/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wrote: > > Julius Lucks wrote: > > Hello, > > > > I would like to use .find, but only for the first element of the > results. > As John told you, you could use: > $("p a:first").hide(); > > The following bits all produce thesame result: > $("p a")[0].hide(); > $("p a:eq(0)").hide(); > $("p a:nth-child(0)").hide(); > > I think i am correct right? > > -- Gilles > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
