Acctually eq isnt a member function of the jQuery object, it is a base _expression_, so you use it like this:

$('tbody tr:eq(0)').hide('slow');

(i think.)
Check out http://jquery.com/docs/Base/_expression_/ for details.

On 9/8/06, Nando Vieira <[EMAIL PROTECTED] > wrote:
Hello there!

I'm trying to hide the first row with

> $('tbody tr').eq(0).hide('slow')

But this code throws an error (eq function doesn't exist).

> $('tbody tr').get(0).hide('slow')

Does not work either.

How do I use "eq" with "hide" method?

--
Nando Vieira
bloggin' @ http://simplesideias.com.br

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to