This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

more than one click on a button

 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Report post to moderator

How we can handle the following suitation
If a user clicks on a button more than once but we need to handle it onece.


@ben - i guess this topic was moved too fast.

"use javascript to disable" is probably not the best of all solutions, as the user might have deactivated javascript of might use a media which has no javascript support.

one more sophisticating technique would be to create a unique id, submit it as a hidden field and ensure that each id is processed only once (or never ;-))

jan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please post replies in the original topic. Since this has been moved to the HTML forum, you should post there.
 
    Bookmark Topic Watch Topic
  • New Topic