intendo in che evento?

tipo
<input type=button onclick="checkForm()">