【www.gdgbn.com--css3教程】





html5 获取input内容


 
 
 
 
 
 
 
 
 

    <script>var d = document.getelementbyid("debug");
    [].foreach.call(document.queryselectorall("input"), function (el) {
      d.innerhtml += "" + el.type;
      d.innerhtml += el.getattribute("type")  + "";
    });
    </script> 

    本文来源:http://www.gdgbn.com/css/27929/