js隐藏元素的方法有哪些 首先,打开html编辑器,新建html文件,例如:index.html。在index.html的标签中,再输入js代码:document.body.removeChild(document.getElementBy...