Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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