Is there any reason why a form object won't allow you to submit() it? I have sent the object in question to alert() and it claims to be an HTMLFormElement object, but javascript keeps insisting the method submit() does not exist.
edit: Just figured it out. Some nonce named one of the fields 'submit' and javascript got confused. I've got to go and inflict some violence on my fellow coders now...
Javascript form object problem[SOLVED]
Moderator: General Moderators
-
SpiderMonkey
- Forum Commoner
- Posts: 85
- Joined: Fri May 05, 2006 4:48 am
Re: Javascript form object problem[SOLVED]
SpiderMonkey wrote:Is there any reason why a form object won't allow you to submit() it? I have sent the object in question to alert() and it claims to be an HTMLFormElement object, but javascript keeps insisting the method submit() does not exist.
edit: Just figured it out. Some nonce named one of the fields 'submit' and javascript got confused. I've got to go and inflict some violence on my fellow coders now...
Hi SpiderMonkey,
Is it possible for you to paste your code here.
Regards,
Adroit
http://www.adroitsoftware.org