摘要:
--1.服务器端的下拉框<asp:DropDownList ID="ddlSelectLineType" runat="server" Width="50" ></asp:DropDownList>在脚本中得到服务器端的下拉框的脚本代码:var first = $("ddlSelectLineType").value;--2.服务器端的RadioButtonList<... 阅读全文
摘要:
--编码System.Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(变量1)).Replace("+", "%2B")--解码System.Text.Encoding.Default.GetString(System.Convert.FromBase64String(Request["变量2"].Trim().Replac... 阅读全文
摘要:
脚本代码如下:function big(o){var zoom=parseInt(o.style.zoom, 10)||100;zoom+=window.event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';return false; }例子:<%@ Page Language="C#" AutoEventWireup="true"... 阅读全文
摘要:
两个DIV在一起,不想让换行;添加属性display:inline即可。 阅读全文