input的indeterminate属性

这个是在司徒正美的博客中看到的,

 

<!doctype html>
<html>
 <head></head>
 <body>
  <input type="checkbox">
  <script>
    var myInput = document.querySelector("input");
    myInput.indetermanate = true;
  </script>
 </body>
</html>

 

posted @ 2014-09-21 09:58  郑俊伟  阅读(398)  评论(0)    收藏  举报