首页javascriptradiobuttonjQuery Form - 如何添加输入[disabled = true]...

jQuery Form - 如何添加输入[disabled = true]...

我们想知道如何添加输入[disabled = true]。...

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.6.3.js'></script>
<script type='text/javascript'>
$(window).load(function(){
    console.log($('input').not(':checked'));
});
</script>
</head>
<body>
  <input type="checkbox" id="i1" />
  <input type="checkbox" id="i2" checked="checked" />
  <input type="checkbox" id="i3" checked="checked" />
  <input type="checkbox" id="i4" />
</body>
</html>