Using Javascript to submit a form

extjs, javascript

Solution

This is usually caused by having a form control (usually a submit button) with a name or id of 'submit'. This clobbers the submit method; rename it.

Problem

I'm using ExtJS on a registration page which should have no effect on this. ``` <form name="registerform" id="registerform" method="POST" action="registerProcess.php"> ``` I have that form and the javascript ``` document.registerform.submit() ``` will not submit the form.... any ideas?

Original source