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);
    });


Thanks

Feijó

Reply via email to