I have a HTMLPanel that contains html text like
<div onclick="onclick(event);">foo</div>
but I have no luck getting the client side to fire off the onclick HTML event attribute when the <div> element is clicked on.
I have defined a onclick(Event e) method in my primary EntryPoint class but the mouse event is never delivered.
I have tried using a FocusPanel to contain the HTMLPanel and do get click events for the panel but I am not sure how to find the element that was clicked on. This would certainly be a better approach.
Any ideas.
Thanks,
JAP