<html>
<head>
<style type="text/css">
body{
background-color:#333;
}
#myA{
background-color:#fff;
width:350px;
margin-left:10px;
color:#666;
padding:10px;
cursor:pointer;
}
#hideArea{
height:30px;
width:350px;
background-color:#fff;
display:none;
}
</style>
</head>
<body>
<script>
function aa(){
var myArea = document.getElementById("hideArea");
if(myArea.style.display=="none"){
myArea.style.display="block";
}
else{
myArea.style.display="none";
}
}
</script>
<div id="myA" onclick="aa()">不会了怎么办
<div id="hideArea"></div>
</div>
</body>
</html>