Re: user DOUBLE-CLICK'in in submit form button !

From: Date: Sat, 10 Jul 2004 16:13:14 +0000
Subject: Re: user DOUBLE-CLICK'in in submit form button !
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13609@lists.php.net to get a copy of this message
> Is there any way to prevent that? I read that it can > be prevented with javascript but I don't found any > examples Usually u catch the onsubmit- or onmousedown-event and add an attribute named "disabled" to the button : function disableButton() { document.getElementById("butt").disabled = true; } <form ...onsubmit="disableButton()"> <input id="butt" type="submit" value="Send data"> </form> > and I dont know even how to integrate that > into QuickForm. Well I guess for this u have to wait for the QF-experts. HTH Thorsten

« previous php.pear.general (#13609) next »