You will have to use JavaScript.
Use the following:
document.poster.action.disabled=true; // Disable Submit & Preview
button
Or, if you aren't having it within a form, put the javascript in the end of
the page and write:
document.btnSend.disabled=true;
Note that the first code disables ALL "action" buttons...
- Richard
""george"" <[EMAIL PROTECTED]> wrote in message
99029b$78h$[EMAIL PROTECTED]">news:99029b$78h$[EMAIL PROTECTED]...
> IS there a way of making sure that a submit button cant be pressed twice.I
> am using a form to send an email and dont want two emails showing up.
>
> TIA
>
> george
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]