multiple submit button in jsp
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chandan_Jena
Posted On:   Monday, December 9, 2002 03:49 AM

hi
I have 3 submit buttons on a jsp page. clicking on each one goes to 3 different pages. Please give me the javaScript code to handle the 3 buttons.
thanks and regards
chandan

Re: multiple submit button in jsp

Posted By:   Jeanne_Boyarsky  
Posted On:   Monday, December 9, 2002 05:04 PM

If you want to have the buttons in the same form, you can use javascript:

document.form.action="page1.html";
document.form.submit();

Re: multiple submit button in jsp

Posted By:   Sujatha_Gopal  
Posted On:   Monday, December 9, 2002 03:59 AM

Try the Sample Code below



















About | Sitemap | Contact