摘要: 方法1. 添加:document.getElementById("id").classList.add("类名"); 删除:document.getElementById("id").classList.remove("类名"); 方法2 var classVal=document.getEleme 阅读全文
posted @ 2019-02-20 10:38 chengzi_he 阅读(572) 评论(0) 推荐(0) 编辑