Jquery to detect identical class and text for tab navi

后端 未结 1 1773
谎友^
谎友^ 2021-01-26 10:45

Does anyone have experience detecting identical text(); and class?

here is my current code to

    $(\"ul.nav li\").click(function() {

    $(\'ul.slideMo         


        
相关标签:
1条回答
  • 2021-01-26 11:09
    $('ul.slideMove li[class = "'+sharedata+'" ]').fadeIn('slow'); 
    

    should be

    $('ul.slideMove li.'+sharedata).fadeIn('slow');
    
    0 讨论(0)
提交回复
热议问题