Hi
I have a drop down thus
[code=html]
<form name = frmUtils method = POSTaction = "">
<select name = Do>
<option>Add</option>
<option>Delet e</option>
<option>Updat e</option>
</select>
</form>[/code]
I want the form action to change based on the selection ie
if selected Index is Add
action = add.php
if selected Index is Delete
action = delete.php
if selected Updateis Add
action = update.php
Somebody help
I have a drop down thus
[code=html]
<form name = frmUtils method = POSTaction = "">
<select name = Do>
<option>Add</option>
<option>Delet e</option>
<option>Updat e</option>
</select>
</form>[/code]
I want the form action to change based on the selection ie
if selected Index is Add
action = add.php
if selected Index is Delete
action = delete.php
if selected Updateis Add
action = update.php
Somebody help
Comment