请教把变量放在外面为什么不行
<script type="text/javascript">
var mychar=document.getElementById("con");
function hidetext()
{
mychar.style.display="none";
}
<script type="text/javascript">
var mychar=document.getElementById("con");
function hidetext()
{
mychar.style.display="none";
}
2016-05-20
举报