aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Reg : Disable the button Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Reg : Disable the button" Watch "Reg : Disable the button" New topic
Author

Reg : Disable the button

chennai Kumar
Ranch Hand

Joined: Jun 04, 2005
Posts: 66
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

Joined: Jan 10, 2002
Posts: 56150
    
  13

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Reg : Disable the button
 
Similar Threads
How do I get a JButton to invoke a web browser?
swing application
Navigation from JSF page to Non JSF page
create a text analysis
Browser Back Calling Action again