hii
how do I iterate through a jquery object $('a') using the each function and get result of each function immediately, not all together?
this is my function:
- btns=$(".viewport").find('.third_cat_chb'); //there are 680 results!!
- this_btn=$(this);
- count=btns.size();
- btns.each(function(i){
- start=true;
- cpt += 100/count;
- if($(this).is(".cat_chb_off")){
- $(this).trigger('click');
- }
- });