摘要: --1.服务器端的下拉框<asp:DropDownList ID="ddlSelectLineType" runat="server" Width="50" ></asp:DropDownList>在脚本中得到服务器端的下拉框的脚本代码:var first = $("ddlSelectLineType").value;--2.服务器端的RadioButtonList<... 阅读全文
posted @ 2008-09-24 15:55 liyundong 阅读(258) 评论(0) 推荐(0) 编辑
摘要: --编码System.Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(变量1)).Replace("+", "%2B")--解码System.Text.Encoding.Default.GetString(System.Convert.FromBase64String(Request["变量2"].Trim().Replac... 阅读全文
posted @ 2008-08-06 14:16 liyundong 阅读(176) 评论(1) 推荐(0) 编辑
摘要: 脚本代码如下: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"... 阅读全文
posted @ 2008-07-15 18:30 liyundong 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 两个DIV在一起,不想让换行;添加属性display:inline即可。 阅读全文
posted @ 2008-06-18 17:42 liyundong 阅读(140) 评论(1) 推荐(0) 编辑