- 博客(1)
- 收藏
- 关注
原创 元素的隐藏
1、js方式document.getElementById("id").style.display="none",其中document.getElementById("id")获取的是id为“id”的元素document.getElementById("id").setAttribute("style","display:none"),其中setAttribute可以给一个元素添加
2018-09-05 14:41:13 209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人