views:

50

answers:

2

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?

A: 

You can try

document.getElementById('registerform').submit();
Robusto
That doesn't work
Webnet
+6  A: 

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.

David Dorward