<div class="input-box cleartfix">
<label class="title">手机号码</label>
<div class="input-wrapper">
<input type="text" id="myBtn" name="Name" maxlength="11" >
<label id="demoe" class ="placeholder" style="display: block;">请输入手机号</label>
<i class="ok"></i> </div></div></div>
<script>
document.getElementById("myBtn").addEventListener("onclick", function()
{
document.getElementById("demoe").style.display = "none";
console.log(123);
});
</script>
这样写不知道为啥不起作用 求大佬帮忙看一下!!!!