| Author |
error in document.form.submit();
|
smyle khanna
Ranch Hand
Joined: Jan 14, 2004
Posts: 54
|
|
Hi .. I am facing a problem while submittin a page,there are javascript validation after with it shud submit but during submittin it gives the following error "Object doesnt support the property or method" while all the form name is correct n i have given the action in the form where it has 2 redirect.i tried by changin the button type 2 submit and button also without any progress..... plz help smyle
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
are you doing document.formName.submit() ??? If that is not your problem then I need to see some code... Eric
|
 |
Mishra Anshu
Ranch Hand
Joined: Sep 16, 2003
Posts: 224
|
|
Hi!! I got the same type of problem some days ago. It may be that ( PLZ... check...) <input type=button name="sendIt" value="sendIt" onclick = javascript: sendIt()> type may be in you code, and in script portion you may have, implemented the "sendIt()" method. But , I got through with this error, when I just changed the name of the JavaScript function say( sendItOne). May be...name of the button and function (and value..) causing some problem. Eric may have something to say here...
|
"Ignorance is bliss"
|
 |
Mishra Anshu
Ranch Hand
Joined: Sep 16, 2003
Posts: 224
|
|
sorry to post so many times but...it happened because I seen that the reply was never updated. May be some problem with the server....sorry............. [corrected] [ April 12, 2004: Message edited by: Eric Pascarello ]
|
 |
 |
|
|
subject: error in document.form.submit();
|
|
|