Monday, June 27, 2011

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

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

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment