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
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/