Name

Input.click( ): simulate a mouse click on a form element — DOM Level 2 HTML

Synopsis

void click( )

Description

The click() method of a form element simulates a mouse click on the form element, triggering any onclick event handlers that were registered on the element.

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.