views:

141

answers:

1

html file has two textbox and one button. but i need to generate click event when i only click outside of the two textboxes and button element.how can i do that.

RootPanel.get().addEventListener or something like that?? help.

+1  A: 

I don't know, if RootPanel.get().addEventListener works, but you can add another panel, which contains the three elements. To the new panel you can add an listener.

cupakob