Connecting Tech Pros Worldwide Forums | Help | Site Map

use of variables define in js used in scriptlet

Newbie
 
Join Date: Dec 2007
Posts: 1
#1: Dec 14 '07
Hi,
I have a problem of useing a variable which is defined in javascript which i need to pass a function which will work on it. this function is defined in a java class which is being imported in that jsp now the problem is that i am unable to send that variable to the function.

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Dec 14 '07

re: use of variables define in js used in scriptlet


Hi,

welcome to TSDN!

Set a hidden form field to the variable value and submit the form to the JSP action page.
Reply


Similar JavaScript / Ajax / DHTML bytes