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/

Reply via email to