This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
JSP executes on the server; JavaScript on the client. There can be no interaction.
However, remember that the purpose of a JSP is to dynamically create the markup to send to the client, so you can use JSP to hard-code the variable's value into the JavaScript:
Thank you Sir, The article really clarifies most of the doubts. One question is Whether in JSP by writing one script function can we write the complete JAVA code inside the jsp file withing <% %> tags
How do I pass the value of i to the enable function?
Please help.
Hi I have resolved my issue to get the value in a javascript but I dint know whether it is the best way to that or nat. I am giving the approach. 1.Taken the java variable and assign it the value 2.Now i have assigned this value to the Hidden parameter of the form 3 And from the javascript function i used the value of this parameter.
In my case it works fine... Please suggest whether any other approach can be possible
Paulina Tanner, In the future, please start a new thread with your question. Asking a new question in someone else's thread is called hijacking and is a rude thing to do to the original poster. If you think your question is similar or related to another, add a link to that thread in your own.