calling javascript function in one jsp from another one!!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dude_dude
Posted On:   Saturday, April 8, 2006 02:49 AM


My curent requirement is that say I have ten odd jsp's each with a submit buttton .
I need to have a submit all button on 1st jsp so tat the user doesnt have to press submit on each jsp.So for that I need to call submit button javascript function writen in each individual jsp from the javascript function of the 1st jsp .
Can somebody let me know how this is to be done.If the code could be provided better!!!

Re: calling javascript function in one jsp from another one!!

Posted By:   Swapnil_Naik  
Posted On:   Wednesday, April 19, 2006 03:47 AM

hi,

It's better, if u write the common javascript functions in one javascript (.js) file. and call it from different JSP pages...
About | Sitemap | Contact