问题描述
function name() {
const select = document.querySelector("#id");
select.classname = ("customclass")
}
我已经编写了这段代码。但是我无法更改类名。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
function name() {
const select = document.querySelector("#id");
select.classname = ("customclass")
}
我已经编写了这段代码。但是我无法更改类名。
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)