Javascript call value from other input

kevin1016

New Member
I have the following code:\[code\] <form> <input type="text" id="field1" name="field1" value="http://stackoverflow.com/questions/13801225/first value" /> <input type="text" id="field2" onkeyup="showRSS(this.value, this.alt)" value="" alt="test"> </form>\[/code\]Within the showRSS onkeyup function I need to call the value from the first input field (id="field1"). How can I do that?
 
Back
Top