title: Set document.getElementById to variable
body: <p>The following works:</p>
  
  <pre><code>    $ = document.form;
      x = $.name.value;
  </code></pre>
  
  <p>This doesn't:</p>
  
  <pre><code>    $ = document.getElementById;
      x = $("id").value;
  </code></pre>
  
  <p>Any ideas on why this doesn't work or how to make it so?</p>