Write a JavaScript function to disable the button, problem fixed.

This is pretty easy with jQuery (of course it is)

$('#submitButton').bind('click keyup', function () {
     $('#submitButton').attr('disabled', 'true');
});

<cfinput type="submit" validate="submitonce" id="submitButton"...


Actually you can use cfform to do this.

<cfinput type="submit" validate="submitonce" ....

HTH

G!
*

*
On Mon, Apr 25, 2011 at 12:16 PM, Andrew Scott <[email protected]>wrote:

>
> Write a JavaScript function to disable the button, problem fixed.
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343974
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to