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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

 
somasekar thiyagarajan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


Currently am working on the Gwt button disable in crossbrowser. In Internet explorer its working properly But in Mozilla firefox and Chrome the button is not disabled properly and whenever mouse over on the disabled button, button got focus( but clicking event function is not occuring)

The following code i have used :

final Button sendButton = new Button("Send");
sendButton.setEnabled(false);

Also i have tried the following thing.

final Button sendButton = new Button("Send");
DOM.setElementPropertyBoolean(sendButton.getElement(), "disabled", true);

Please help me out.

Somaldo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic