Latest Control from MetaBuilders
I'm sure I saw TONS of post on the
Forums about “How to
disable / make a button invisible after a click”, or “How
to avoid double insertion of data”?
This is a
headache for developers especially when you click a button
and insert something into the Database, as your user may
press the “F5“ button and/or repeated click the submit
button.
This kind of FAQ normally got a couple of replies:
1.
Set the visible to “none” in Javascript
2. Set the
button to “disabled” in Javascript
3. Use a layer to
“hide” the button
4. Redirect to the page itself
after db operation
...
(Many more “techniques“
and “pros/cons“ had been mentioned by
Andy in his blog a few days ago.
Today, I found that Andy create a new cool control in
this topic : OneClick
(Is it REALLY the utimate solution for
“Mr. Zero Patience” , Andy? ;-)