Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
HTML Pages with CSS and JavaScript
Object Doesnot support this properties or method error in javascript
sumanta panda
Ranch Hand
Posts: 224
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear Sir,
While submit the page it is comming javascript error message showing that "
Object Doesnot support this properties or method
"
Kindly look at my code and suggest me for the needful.
function validateRequest() { alert("Inside the func"); if(AddUser.rPass[1].checked){ alert("Sorry we cannt run the SOD EOD batch without Yes radio button check"); } return true; } function form_sub() { if (validateRequest()) { AddUser.action="<%=response.encodeURL("/admin/ResetPassword.jsp")%>"; //NewPassword.action="<%=response.encodeURL("/servlet/mailServlet.MailFrequencyServlet")%>"; AddUser.method="post"; AddUser.submit(); } } <tr> <td ><B>Are you Sure You want to run the SOD EOD Batch?</B> <input id="cboNewPassID" type="radio" name="rPass" value = "Yes" checked tabindex="1" > Yes <input id="cboNewPassID" type="radio" name="rPass" value = "No" tabindex="2">No </td> </tr> <input type="button" class ="buttonDataCell" name="submit" value ="submit" onClick="form_sub()" tabindex="4">
Thanks and Regards
Sumanta Panda
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Rename your submit button to something else such as name="btnSubmit"
By naming the button submit, you overwritten the submit() method.
Eric
sumanta panda
Ranch Hand
Posts: 224
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks a lot Eric Pascarello Sir
.Now its working.
Best Regards
Sumanta Panda
Water proof donuts! Eat them while reading this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
jQuery not working on page
Problem with accessing radio buttons
HTTP Status 405 error
function for radio button
two dropdown menus
More...