• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in document.form.submit();

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
are you doing document.formName.submit() ???
If that is not your problem then I need to see some code...
Eric
 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Mishra Anshu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic