I want a simple text box and submit button that when clicked will open .../pages/whats in the box.html can anyone help me with the code that would be appreciated?
I need web page help (text box/submit)?
If you have a form named %26quot;form%26quot; and text box named %26quot;textBox%26quot; the this Javascript should work:
window.location = form.textBox.value
Which would of course be in an onClick handler on the form%26#039;s submit button.
All the best.
No comments:
Post a Comment