Hello
I have a form that is displayed within an iframe, named "contribute". The form is a php page, "form.php".
The first field in the form is a drop-down select field. I want to use onSelect (I *think*) to reload the php page within the iframe, passing the value of the selected option to php.
That is, when selected:
<select name="identity" onSelect statement???>
<option value="1">1</option>
should output the following:
"/form.php?identity=1" target="contribute" (or "_self")
Do any quick javascript examples come to mind?
Thanks a bunch
Mike
I have a form that is displayed within an iframe, named "contribute". The form is a php page, "form.php".
The first field in the form is a drop-down select field. I want to use onSelect (I *think*) to reload the php page within the iframe, passing the value of the selected option to php.
That is, when selected:
<select name="identity" onSelect statement???>
<option value="1">1</option>
should output the following:
"/form.php?identity=1" target="contribute" (or "_self")
Do any quick javascript examples come to mind?
Thanks a bunch
Mike