Mega Code Archive
Categories
/
JavaScript Tutorial
/
Form
Button onClick
Syntax onClick="command" The onClick event handler is defined in an tag and specifies what to do when the button is clicked.