Forum Moderators: open
I'm looking to write a simple (i hope!) web page which has a form with two boxes; and it uses the values of these boxes to send the user to another webpage; ideally within an inline frame featured on the same page.
Ie.
Box 1 = IP Address (ex. 192.168.0.1)
Box 2 = Web Page (ex. index.html)
Submit (Changes inline frame on page to http://[IP]/[PAGE] )
And the resulting page loads in an inline frame displayed just below the form.
Its the dynamic result which is required which has stumped me; any ideas or light to shed on this would be really greatly appreciated!
[edited by: tedster at 3:49 am (utc) on April 26, 2009]
[edit reason] de-link the example code [/edit]
The iframe should be declared with a name and id attribute - for this example I'll choose the name "display":
<iframe name="display" id="display">
Then the select works like any other form navigation - except that the href= attribute is followed by a target="display" attribute.