OnSubmit is used on a form
, and indicates that the information is to be submitted to the server at this point unless you return false.
OnClick is used on anything, and indicates that it was clicked, offering no other context to the intention of the event at all.