📜  隐藏元素 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:03.882000             🧑  作者: Mango

代码示例2
//If you have jquery, you can use the following method:
$("#mydiv").hide(); //hides div.
$("#mydiv").show(); //shows div.
//If you don't have jquery...
//search up the following: html how to add jquery