form表单用js获取值

<script> function checkForm() { var inputList = document.getElementsByTagName("input"); console.log(inputList.length); //获取input的个数 //获取单个的name的属性和 input文本框的值 console. log( inputList[ 0].name
相关文章
相关标签/搜索