• Hi,

    I have a jquery that change opacity of posts according to which one was selected,
    but when it loads more posts, it doesn’t rerun the rules,
    how could I do this ?

    jQuery('#bureau_cat li').click(function(e){
      jQuery('#bureau_cat li').removeClass('select');
        jQuery(this).addClass('select');
        
        var classelect = "." + (jQuery(this).attr('id').substring(1));
        
        jQuery('.catprod').css('opacity', '0.1');
        
      jQuery(classelect).css('opacity', '1');
    
        e.preventDefault();
        
    });	
    

    Thanks in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘rerun function after load more’ is closed to new replies.