You have to wrap "this" with the jQuery $() object:

$(this).children.eq(0)...

- jake

On 7/12/07, Salvatore FUSTO <[EMAIL PROTECTED]> wrote:


Hi,
i've a table in which there are a number of cells, of class myCl: these
cells are not in all rows; in each of these cells i have one select and
one
input ;
i would retreive for each myCl-classed td the value of the first element,
then i think to write:

$("td.myCl").each(function(i){this.children().eq(0).val()});

but i've an error: this.children is not a function.

What is my mystake?
regards

salvatore


Reply via email to