Hi All, Thanks a lot in advance. I have some value in javascript and I want to assign that value to a jsp variable. I know how to assign a JSp value to a javascript variable but I am not getting any idea on this.
I have a code like below <Script language='javascript'> var x=5; </script> And I want to set this x value in seesion attribute,like <% session.setAttribute("XJavascript",x)---this should be javascript value %>