Oeps, Sorry, Works! thnx
On Jan 13, 3:14 pm, "Scott González" <[EMAIL PROTECTED]> wrote: > Use $(':input').each(...) > > On Jan 12, 6:10 pm, Abdul-Rahman <[EMAIL PROTECTED]> wrote: > > > Hey guys, > > > I am trying to use the plugin > > ofhttp://fluidproject.org/blog/2008/01/11/jquery-tabindex-plugin/ > > to set the tabindexes for my form. I am going through it by querying > > it as following but it gives me back inputs, then the textareas, en > > then the selects (and I would like the elements based on the > > occurrence in stead as a collection of inputs, and then textareas, and > > then selects. > > > This is the code I am using > > > $("form input, form textarea, form select").each(function(i){ > > $(this).tabindex(i+1); > > }); > > > does someone have a other solution?