This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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