This article needs an editorial review. How you can help.
HTMLElement.click() method simulates a mouse-click on an element.
click() is used with supported elements (e.g., one of the
<input> types), it fires the element's click event. This event then bubbles up to elements higher in the document tree (or event chain) and fires their click events. One exception: The click() method will not cause an
<a> element to initiate navigation as if a real mouse-click had been received.
|Document Object Model (DOM) Level 2 HTML Specification||Recommendation||Initial definition|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Feature||Android||Chrome for Android||Firefox Mobile (Gecko)||IE Phone||Opera Mobile||Safari Mobile|
|Basic support||No support||?||?||?||?||?|
 Prior to Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2), Gecko didn't implement the click() method on other elements that might be expected to respond to mouse–clicks, such as links (
<a> elements), nor would it necessarily fire the click event of other elements.
 Older versions had