这样写为什么没有效果?
<script type="text/javascript">
function hidetext()
{
var yinchang=document.getElementById("con");
yincang.style.display="none";
}
function showtext()
{
var xianshi=document.getElementById("con");
xianshi.style.display="block";
}
</script>