Facebook Twitter LinkedIn RSS
 
 
Home » Posts tagged "Scripts"

Posts Tagged ‘Scripts’:


How to pass a variable from JSP to JavaScript

Now I am going to explain how we can pass a JSP variable to JavaScript code. For example I have the JSP variable <%= jspParameter %>, which I want to be accessed by my JavaScript code. In the Javascript code I will define a new js variable and I will pass the JSP variable: var

(More)…