Hi
I want to add ClickHandler to the < li> tag
please help me ...
Hi
I want to add ClickHandler to the < li> tag
please help me ...
You could use a FocusWidget once you've got hold of the Element. There's a FocusWidget constructor taking a single Element. After that you can just call addClickHandler
You need to have the <li>
tag as a widget that implements the HasClickHandler interface. Then you can instantiate a ClickHandler and add it to the <li>
widget.