29.07.2016 - The input tag doesn't have onsubmit handler. Instead, you should put your onsubmit handler on actual form tag, like this:.