What I'm trying to do is to determine how many inputs are present on the same table row of the current input user is updating.
I tried this: alert($(this).parents("tr:first")"input[type=text]".length()); But it counts total input in current table. What am I missing ?