Hai,
Can anyone pls tell me how to access Javascript variable in JSP.Here is my code:
<input type="checkbox" id="check1" value="<%=resultset1.getString(2) %>" onchange="call(this.value)"><%=resultset1.getStrin g(2) %>
function call(elementid)
{
var arr = new Array();
arr.push(elementid);
for(var i=0;i<arr.length;i++)
{
document.getElementById("hidden3").value = arr;
}
}
I need to use the Hidden valuie in JSP.Can anyone pls tell me how to get the value?Thanks in Advance