> The following bits all produce thesame result:
> $("p a")[0].hide();
> $("p a:eq(0)").hide();
> $("p a:nth-child(0)").hide();The only one that will actually give you the same result is the second one. The first one will fail, the the third one will give you the <a> only if it's the first child element of the parent - which is not the same as :eq(0) or :first --John _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
