Is it possible to use to input fields and a submit button with this code:
<form name="input" action="LINK"
<input type="text" name="codice">
<input type="text" name="code2">
<input type="submit" value="Submit">
I want the user to insert CODE and the CODE2 values and then to click SUBMIT. This submit action will add the values into a link:
Then I would like this generated link to be automatically added as the "src" of an iframe on the same page once the user presses submit....is this possible?
What sort of syntax do I need to use in the form/input/submit fields? How do I get it to work?
Here is the basic layout of the page:
Code: [code input field] Code2: [code2 input field] (SUBMIT BUTTON) // the above values are then added into the link so that the the link becomes: // http://something.com/random.asp?code=CODE&code2=CODE2 // the link is then added as the "src" for the iframe underneath <iframe src="link above"></iframe>
If all of this is possible then it would be great!
p.s. is it possible to make an iframe refresh on itself every 30 seconds?
Sorry for all the questions and thanks!