something like this Scott?

<script language="javascript">
function processForm(){
if (document.forms[0].formSubmit.value=="Submit"){
 document.forms[0].formSubmit.value="Please wait";
 document.forms[0].submit();
}
}
</script>

<input type="button" name="formSubmit" value="Submit"
onclick="processForm();">

*not tested* ... actually written while in a web based mail client

> Hi,
>
> I am looking for some code to take a humble submit button, and make it
> multiple-submit proof. I have seen it around before, but can't recall the
> solution.
>
> Eg, After clicking, the button text changes to "Please wait", and becomes
> disabled, and the form submits still.....
>
> Cheers,
>
> Scott Thornton, Programmer
> Application Development
> Information Services and Telecommunications
> Hunter-New England Area Health Service
> Phone  RNH +61 2 49236066
> Fax       +61 2 49236076
>
> [EMAIL PROTECTED]
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to