Opps.. This is how to do it with out CFForm $('#submitButton').bind('click keyup', function () { $('#submitButton').attr('disabled', 'true');
> }); <input type="submit" id="submitButton"... My bad On Mon, Apr 25, 2011 at 12:40 PM, Gerald Guido <gerald.gu...@gmail.com>wrote: > 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 <andr...@andyscott.id.au>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:343976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm