摘要:
function BOX_show(e,obj)//显示{ if(obj<24) document.cookie = "tdid="+obj; if(document.getElementById(e)==null) { return ; } var selects = document.getElementsByTagName('select'); for(i = 0; i < selects.length; i++) { selects[i].style.visibility = ""; } BOX_layout(e); 阅读全文
摘要:
前台:<div id="ISO" style="position:absolute; top:110px; left:330px; height:309; width:309px; padding:10px 20px 0; display:none; background:lightblue;text-align:left; border:2px solid #5d3f0c;z-index:999; font-size:12px; height: 221px;"> <table style="width: 103%; heig 阅读全文
摘要:
首先是前台的页面:<asp:GridView ID="gvbianmai" runat="server" AutoGenerateColumns="False" Height="57px" Width="611px" AllowPaging="True" PageSize="5"> <Columns> <asp:TemplateField HeaderText="选择项"> <ItemTempl 阅读全文
摘要:
设置cookie的值document.cookie = "tdid="+obj;获取string tdid = Request.Cookies["tdid"].Value;Page.ClientScript.RegisterStartupScript(this.GetType(), "", "tanchu(" + tdid + ")", true); 其中tanchu(*)是JavaScript中的一个方法,后台可以这样调用 阅读全文