title: Javascript call value from other input
body: <p>I have the following code:</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type="text" id="field1" name="field1" value="first value" /&gt;
      &lt;input type="text" id="field2" onkeyup="showRSS(this.value, this.alt)" value="" alt="test"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Within the <code>showRSS()</code> onkeyup function I need to call the value from the first input field (<code>id="field1"</code>). How can I do that?</p>