redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Thursday 18 October 2018 19:48

Ask your IT question here

submit function error



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Lusis Backwood JR
Enthusiastic Coder


Joined: 26 May 2006
Posts: 87
Location: United States
Is there a reason I get an error "document.forms.qform.submit is not a function" when I use: document.forms['qform'].submit();?
AFAIK, it should work fine
<FORM method="post" action="" id="qform" name="qform">

Reply with quote
 
Gladis
Enthusiastic Coder


Joined: 24 May 2006
Posts: 107
Well, your action is /technicaly/ valid, but some browsers are rather buggy when it comes to action="".
I'm guessing you have a form control named submit, which is clobbering the normal submit property of the object.

Reply with quote
 
Lusis Backwood JR
Enthusiastic Coder


Joined: 26 May 2006
Posts: 87
Location: United States
Ah, that could be the issue
Reply with quote
 
Melville
New Programmer


Joined: 10 Dec 2008
Posts: 14
Location: USA
Sorry,
I don't have enough knowledge about this matter.
i just suggest you should take help of any experience person or you also take help of search engine to find it.
Best of Luck
_________________
anti keylogger

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo