Fixed onclick issue by submit button: onclick -> onClick.