摘要:
前台 <asp:CheckBoxList ID="chklClasses" runat="server" Width="100%" CellSpacing="0" RepeatDirection="Horizontal"CellPadding="0" RepeatColumns="3"></asp:CheckBoxList>后台 #region 获取舱位方法 private void getClasses() { string co 阅读全文
摘要:
1.后台 private void GetVips() { IList<VIPCoordination> list = service.QueryVipCoordinationInfo(pageInfo); if (list != null) { var vips = from v in list select new { Id = v.Id, Airline = v.AirlineCode.Length > 10 ? v.AirlineCode.ToString().Substring(0, 10) + "..." : v.AirlineCode, Ai 阅读全文
摘要:
function ClearSession() { $.ajax({ type: "get", url: "/Main/Logout.aspx", data: "clear=true", success: function(msg) { if (msg != null) { if (msg == 'true') { alert('成功注销该用户!'); location.href = '/IndexTransferPage.aspx'; return true; } } return f 阅读全文
摘要:
//下拉选择,文本输入框同步 function ShowReasonInTextBox(ddl, txtId) { var nowText = ddl.options[ddl.selectedIndex].text; if (nowText != "") { document.getElementById(txtId).value = nowText; }s else { document.getElementById(txtId).value = ""; } } //下拉列表<asp:DropDownList ID="ddlReason 阅读全文
摘要:
function checkTime() { var sDate1 = $("#inputOrderTimeStart").val(); var sDate2 = $("#inputOrderTimeEnd").val(); var aDate, oDate1, oDate2, iDays aDate = sDate1.split("-") oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]) //转换为12-18-2002格式 aD 阅读全文