If I wanted to use CF instead of JavaScript to prevent a user from double-clicking on a submit button and submitting their data more than once, what would it be?
Preventing double clicks
Started by
Guest_leon_*
, Jun 04 2006 07:07 PM
3 replies to this topic
#1
Guest_leon_*
Posted 04 June 2006 - 07:07 PM
Guest_leon_*
|
|
|
#2
Posted 19 June 2006 - 06:07 PM
I know using javascript it is very easy
CF is server side so it can't do much for you on the client side.
<INPUT TYPE="Button" VALUE="Change Quantities" onClick="if(this.value == 'Change Quantities') this.form.submit(); this.value = 'Button already clicked';">
CF is server side so it can't do much for you on the client side.
#3
Guest_Kaabi_*
Posted 04 July 2006 - 05:22 AM
Guest_Kaabi_*
So that's just another thing Coldfusion can't do, what is it's main purpose anyway? I think I'm going to read that "What is Coldfusion?" thread to further understand it.
#4
Posted 04 July 2006 - 07:00 AM
Yup, coldfusion is like php. Ran on the server side. You need to use java or even better, AJAX to run things on the client side.


Sign In
Create Account

Back to top










