前端知识-控制div标签的显示与隐藏

1     //将附件信息列表进行隐藏
2     var tAppendixDiv = document.getElementById("AppendixDiv");
3     tAppendixDiv.style.display = "none";
1     //将附件信息列表进行展示
2     var tAppendixDiv = document.getElementById("AppendixDiv");
3     tAppendixDiv.style.display = "block";

这些都是比较重要的,会在项目中使用到的。

posted on 2019-11-16 21:58  ~码铃薯~  阅读(2440)  评论(0编辑  收藏  举报

导航