May 18th, 2004, 09:48 PM
|
#1 (permalink)
|
| Member
Join Date: Mar 2003 Location: Washington
Posts: 42
| Open file name entered into text field
I'm trying to use a text form field to open webpages. I can do this with this code (ON CLICK ONLY):
<form name='test'>
<input type='text' name='openhtm'>
<input type=button onclick='location.href = document.test.openhtm.value + ".htm";' >
</form>
How do I modify this to allow the form to work when users hit enter or click?  |
| |