File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in javascript when doing form.action

 
Sophia Choi
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.");
document.prdfrm3.action="proddelresp.jsp";-error
document.prdfrm3.submit();
return true;
}
function checkUpd(){
if (prdfrm3.title.value==""){
alert("Please input title !");
document.prdfrm3.title.focus();
return false;
}
if(prdfrm3.mediatype.checked == false){
alert("Please input media type!");
document.prdfrm3.mediatype.focus();
return false;
}
alert("Ready to Update.");
document.prdfrm3.action="produpdresp.jsp"; error
document.prdfrm3.submit();
return true;
}

---
I deploy this program in XP professional. The error states that the object does not support this.
 
Jennifer Bhamoo
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible that there is an error in the *.jsp?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic