Try to add variable in attr()

前端 未结 0 1446
梦谈多话
梦谈多话 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         


        
相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题