<html>
<head>
<script>
function turnoff(obj){
document.getElementById(obj).style.display="none";
}

function turnon(obj,e){
 document.getElementById(obj).style.display="block";
}
</script>
<title>我是标题</title>
</head>
<body>
<div >点击关闭</a>
<h1>DIV中的其它文字</h1>
<p>DIV中的其他文字</p>
</div>
</body>
</html>

相关文章:

  • 2021-08-01
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-08-23
  • 2021-08-13
  • 2022-12-23
  • 2021-11-06
猜你喜欢
  • 2022-02-24
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案