语法问题,定义变量,
document.getElementById("xs").style.display = "block";
跟
var mychar = document.getElementById("xs");
mychar.style.display = "block"
有区别吗?
document.getElementById("xs").style.display = "block";
跟
var mychar = document.getElementById("xs");
mychar.style.display = "block"
有区别吗?
2020-11-11
举报