Javascript form.submit conflicting name
I am trying to use the javascript .submit() to auto submit a form, however one of the fields has a name called submit so it returns.
TypeError: document.forms.go.submit is not a function
[Break On This Error]
document.forms["go"].submit();
Is there anything I can use apart from .submit
I am trying to use the javascript .submit() to auto submit a form, however one of the fields has a name called submit so it returns.
TypeError: document.forms.go.submit is not a function
[Break On This Error]
document.forms["go"].submit();
Is there anything I can use apart from .submit
No comments:
Post a Comment