title: Javascript DOM: Pinpointing "input" elements by their type?
body: <p>I have a need to find and manipulate <code>&lt;input type="checkbox"&gt;</code> from a table. At the moment I have a very spartan function:</p>
  
  <pre><code>function testAjaxCheckBoxes() {
      var table = document.getElementById("ajax_output");
      var nodeList = table.getElementsByTagName("input");
  }
  </code></pre>
  
  <p>That is all I know how to do at the moment. I have a <code>nodeList</code> object of all tags of <code>&lt;input&gt;</code>, but I don't know how to check each one's type or attributes.</p>
  
  <p>I suppose the more general question is how do you view and manipulate attributes of any kind through DOM?</p>