This code \'works\' - the button is disabled and the form submits. Happy days.
The issue lies with the name="submit"
attribute on the second button. This causes an issue with Chrome, as it overrides the submit()
function for your form, resulting in the error that FirstOne has observed in his comment:
Uncaught TypeError: this.form.submit is not a function
If you choose a different name (as you did for your first button) then it should work ok.