Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg : Disable the button

 
chennai Kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All,

When user clicks a button / href application redirect to external application.
Client gave the following requirements, as user does not saturate with same request.
So ask us to disabled the button / href for 5 seconds when user click particular button / href.

Can you please guide me how to solve

Thanks and Regards,
Ram kumar



 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assign a click handler to the button and disable it.

If it's going to redirect, what's the point of the 5 second limit?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please use real words when posting to the forums. Abbreviations such as "Reg" in place of whatever it is supposed to mean only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic