onclick attribute

Type:action
Inherited:no
Used By:input
See:href

The onclick attribute is used on input type="button" attributes to specify the action to perform when the button is clicked. In this sense it's very similar to the effect of the href attribute.

Causes the form to be submitted when the button is clicked

<input type="button" value="Submit" onClick="pdf:submit(http://localhost/servlet/Submit)"/>