I am new to javascript. i have below native method in my GWT code. what does it indicates? Please help me.
private native void fireEvent(Element node) /*-{
node.click();
}-*/;
It mimics the event of the user clicking on the element node, i.e. it fakes a click on a particular part of the page (indicated by 'node'), although the actual click part seems to be commented out. This looks more like a prototype.
clickevent of an element, e.g. of<button onclick="alert(0)">but</button>.