日期:2014-05-16 浏览次数:20401 次
<input id="hidItemName" type="hidden" runat="server" value="0" /> <script type="text/javascript"> document.getElementById("<%= hidItemName.ClientID%>").value = 1; alert(document.getElementById("<%= hidItemName.ClientID%>").value);</script> <%Show(); %>
public void Show() { Response.Write("<script> alert('" + hidItemName.Value + "') </script>"); }