Can you post a little more info? Maybe some of your html code that
goes along with what jquery is working with? Are you trying to add a
new criteria text box to a search form when #new-criteria is clicked?
Are you working with table cells or divs?

On Feb 12, 3:14 pm, Feijó <[EMAIL PROTECTED]> wrote:
> How can I get the index of one of my class? I'm reading all in 
> docs.jquery.com and found nothing
>     $("#new-criteria").click(function(){
>         $last = $('#thefilter .qz-tablefield:eq(1)')
>             .clone(true);
>       index= 1;// here, how to get the index of "this"?
>         $('#qz-criteria .qz-tablefield:eq('+index+')').after($last);
>     });
> ThanksFeijó

Reply via email to