passing jsp value to div tag
843838May 8 2007 — edited May 8 2007I have
<%! String sGroup=null;
%>
<input type="button" value="<%=grpDescr%>" name="<%=grpcode%>" onclick='javascript:showMac("<%=grpcode%>");'>
<script>
function showMac(val)
{
//alert(val);
sGroup=val;
document.getElementById("ShowMS").style.visibility="visible";
}
</script>
<div id="ShowMS">
<Table align="center" width="100%" border="0" cellpadding="0" cellspacing="1">
<TR>
<%
Here i want sGroup value to pass a function
%>
</div>
I m getting value in javascript function but can't understand how to pass it so that i can use it in div tag table
Thanks in advance
Meghna
Message was edited by:
Meghna