• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic