HTM L基础输入

<input id="input" type="text" />
<button onclick="main">提交</button>
<script>
  main = function(){
    alert("你输入了"+document.getElementById['input'].value)
  }
</script>

Comments








Please type the word you read in the image New Captcha