帮忙看看什么问题,为什么不会弹出
<script type="text/javascript">
var mss=document.getElementById('neo');
mss.onclick=function(){
alert('hello');
}
</script>
<input type="button" value="按钮" id="neo" >
<script type="text/javascript">
var mss=document.getElementById('neo');
mss.onclick=function(){
alert('hello');
}
</script>
<input type="button" value="按钮" id="neo" >
2017-12-09
举报