On 7 Feb, 03:11, bikuta <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to find the index of the first empty text field (class name > is item).
Hi there I've tried in many ways but the only one that works seems to be this one: $("input").index($(".item[value='']:first")[0]); You definitely need that [0] at the end :)