Problema con Variable de Sesion en HTML
Que hay de malo en este fragmento de código:
<a href="#" onclick="window.open('NodeInfo.aspx?Node_ID=<%Session('Node_ID')%>','','width=399,height=311')">
<IMG id="img_NodeLogo" height="173" alt="" src="" width="159" runat="server">
</a>
necesito pasar el valor de la variable de sesion.
<a href="#" onclick="window.open('NodeInfo.aspx?Node_ID=<%Session('Node_ID')%>','','width=399,height=311')">
<IMG id="img_NodeLogo" height="173" alt="" src="" width="159" runat="server">
</a>
necesito pasar el valor de la variable de sesion.
El problemilla estaba en un caracter antes de la variable de sesion que es el de (=) igual:
<a href="#" onclick="window.open('NodeInfo.aspx?Node_ID=<%=Session('Node_ID')%>','','width=399,height=311')">
<IMG id="img_NodeLogo" height="173" alt="" src="" width="159" runat="server">
</a>
<a href="#" onclick="window.open('NodeInfo.aspx?Node_ID=<%=Session('Node_ID')%>','','width=399,height=311')">
<IMG id="img_NodeLogo" height="173" alt="" src="" width="159" runat="server">
</a>