关于document.getElementById('id').innerHtml的问题
<scriptlanguage="JavaScript"type="text/javascript">functionChange(){document.getEleme...
<script language="JavaScript" type="text/javascript"> function Change(){ document.getElementById('un').innerHtml="此处略去N个字,你懂的...."; } </script> <form action="" method="post" name="myform" > ...... <input type="text" name="username" onchange="Change()" / > <div id="un"></div> </form> 没反应,哪不对?
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询