title: TypeError getElementsByTagName is not a function issue
body: <p>I'm having trouble getting to the source of this problem. Basically the error message I am getting in my console is:</p>
  
  <pre><code>TypeError: $(...).getElementsByTagName is not a function
  </code></pre>
  
  <p>When I click through to the line it is occuring on it is here:</p>
  
  <pre><code>var inputs = $('directoryresults').getElementsByTagName('input');
  </code></pre>
  
  <p>I'm not sure why this is happening as I have included <code>jQuery</code> in the header of the page itself:</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Does anyone have any ideas what might be causing this? </p>