Try to add variable in attr()

前端 未结 0 1390
梦谈多话
梦谈多话 2021-02-20 15:58

I have this code for checking my checkbox with url parameters.

var i = document.location.href.lastIndexOf(\'?\');
var types = document.location.href.substr(i+1).r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题