File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes error in javascript when doing form.action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "error in javascript when doing form.action" Watch "error in javascript when doing form.action" New topic

error in javascript when doing form.action

Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
I use resin as my web server.When I do update and delete function in javascript, I get error.
function DEL(){
alert("Ready to delete.");
return true;
function checkUpd(){
if (prdfrm3.title.value==""){
alert("Please input title !");
return false;
if(prdfrm3.mediatype.checked == false){
alert("Please input media type!");
return false;
alert("Ready to Update.");
document.prdfrm3.action="produpdresp.jsp"; error
return true;

I deploy this program in XP professional. The error states that the object does not support this.
Jennifer Bhamoo
Ranch Hand

Joined: Mar 09, 2002
Posts: 47
Is it possible that there is an error in the *.jsp?
I agree. Here's the link:
subject: error in javascript when doing form.action
jQuery in Action, 3rd edition