SofuBlue

    //下拉框选择
    $("select").change(function () {
       var is_show = $("option:selected").val();
       console.log(is_show);
        var listurl = \'/Index/Goods/listgoods\';
        if (is_show==\'\'){
            console.log(\'空\')
           window.location.href=listurl;
       } else{
           console.log(\'非空\');
           var listurl = listurl+\'/is_show/\'+is_show;
           window.location.href=listurl;
       }
    })

 

分类:

技术点:

相关文章:

  • 2021-09-14
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案