上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: window.location.href=window.location.href; window.location.reload; 重载页面 阅读全文
posted @ 2016-03-18 10:22 来临 阅读(285) 评论(0) 推荐(0) 编辑
摘要: package servlet.back;import java.io.*; import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.Element;import org.dom4j.io.SAXRe 阅读全文
posted @ 2016-03-18 10:21 来临 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: 浏览器的宽、高度alert($(window).height()); //浏览器时下窗口可视区域高度 alert($(document).height()); //浏览器时下窗口文档的高度 alert($(document.body).height());//浏览器时下窗口文档body的高度 ale 阅读全文
posted @ 2016-03-18 10:20 来临 阅读(139) 评论(0) 推荐(0) 编辑
摘要: click无响应第一种$.get("",{param:"topmenu"},function(data){ $(".menu dl").html(data); $(".menu dl dd:first-child a").click(); });ajax响应的数据还没回来$(".class").cl 阅读全文
posted @ 2016-03-18 10:20 来临 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 表格操作<table style='table-layout: fixed;'><td style="word-break:break-all"> 强制换行<td style="width:60px;overflow: hidden;white-space: nowrap;text-overflow 阅读全文
posted @ 2016-03-18 10:19 来临 阅读(306) 评论(0) 推荐(0) 编辑
摘要: $.post(URL',{key:value},function(data){var obj = Ext.util.JSON.decode(data);}) 阅读全文
posted @ 2016-03-08 16:00 来临 阅读(145) 评论(0) 推荐(0) 编辑
摘要: function checkIdCard(){ var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/; //js验证正则 if(!reg.test($("#sfzhm").val())){ return false; }else{ return t 阅读全文
posted @ 2016-03-08 15:59 来临 阅读(119) 评论(0) 推荐(0) 编辑
摘要: String.prototype.Trim = function() //全部{ return this.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.LTrim = function() //左空格{ return this.replace(/ 阅读全文
posted @ 2016-03-08 15:59 来临 阅读(105) 评论(0) 推荐(0) 编辑
摘要: $th = $("<th>增加的列头</th>"); $col = $("<td>增加的列</td>"); $("#tab1>thead>tr").append($th); $("#tab1>tbody>tr").append($col); $("#tab1 tr :last-child").rem 阅读全文
posted @ 2016-03-08 15:58 来临 阅读(180) 评论(0) 推荐(0) 编辑
摘要: // 初始化数据 $('#select-type').html('加载数据中,请稍候...'); $.ajax({ url:basePath + 'servlet/back/xxS?type=cxCombo&lx=qblb', type:'post', timeout:1000*60*60, dat 阅读全文
posted @ 2016-03-08 15:57 来临 阅读(464) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页