QF Controller submit button disabling
| From: | Mike Carter | Date: | Mon, 06 Oct 2003 12:54:33 +0000 |
| Subject: | QF Controller submit button disabling | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8291@lists.php.net to get a copy of this message | ||
Hi,
Is it valid to add an onclick handler to a submit/action button in a QF
Controller page?
I've added the following attribute array('onclick' =>
'this.disabled=true;') and this causes the page to not submit when
making the "next" button become disabled.
Is it possible to have the best of both worlds? -- controller pages &
actions with submit buttons which get disabled on click.
Regards,
--
Mike Carter
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________