Posted by Kim Andrι Akerψ on 02/14/07 18:56
Leon wrote:
> Hi Chaps,
>
> I have been looking around the internet and I really can't see what
> I'm doing wrong here !
>
> This code works in firefox, but not internet explorer.
>
> Any suggestions please? Internet Explorer just doesnt update the
> action of the form so when you hit the button - it seemingly just
> refrehes the page!
>
> <form name="actions" action="" method="post">
> <select name="action" class="formBox">
> <option value="null" onclick="this.form.action.value='';">Select
> Action From List <option value="resendActEmail"
> onclick="this.form.action.value='./admin_process.php?a=resend';">Re-Se
> nd Activation Email <option value="deletaccount"
> onclick="this.form.action.value='./admin_process.php?a=delete';">Delet
> e This Account </select> <input class="formBox" type="submit"
> name="submit" value="Go"> </form>
Why would you do it this way when you can simply do it like this:
<form action="./admin_process.php" method="post">
<select name="a" class="formBox">
<option value="">Select Action From List
<option value="resend">Re-Send Activation Email
<option value="delete">Delete This Account
</select>
<input class="formBox" type="submit" name="submit" value="Go">
</form>
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|