显示和隐藏是实现不了
<!DOCTYPE HTML>
<html>
<head>
<title>reshen</title>
<script type="text/javascript">
function hidden(){
var c=document.getElementById("gm");
c.style.display="none";
}
function show(){
var c=document.getElementById("gm");
c.style.display="block";
}
</script>
</head>
<body>
<p id="gm">小明和小红去学校</p>
<form>
<input type="button" onclick="hidetext()" value="隐藏内容" />
<input type="button" onclick="showtext()" value="显示内容" />
</form>
</body>
</html>