redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

submit function error



 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Lusis Backwood JR



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



Joined: 24 May 2006
Posts: 108
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



Joined: 26 May 2006
Posts: 87
Location: United States
Ah, that could be the issue
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

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

Powered by phpBB © 2001, 2005 phpBB Group