摘要: 对于模糊查询,一般都是传关键字给后端,由后端来做。但是有时候一些轻量级的列表前端来做可以减少ajax请求,在一定程度上提高用户体验 阅读全文
posted @ 2017-10-26 13:49 jessie912 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1.translate(-50%,-50%) 用 position 加 translate translate(-50%,-50%) 比较奇特,百分比计算不是以父元素为基准,而是以自己为基准。 2.视口居中 内容元素:position: fixed,z-index: 999,记住父容器元素 posi 阅读全文
posted @ 2017-08-28 15:56 jessie912 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1.图形上的文本标签 2.气泡窗的内容改变 阅读全文
posted @ 2017-08-10 15:54 jessie912 阅读(138) 评论(0) 推荐(0) 编辑
摘要: http://www.bootcss.com/p/bootstrap-datetimepicker/demo.htm 阅读全文
posted @ 2017-07-17 11:03 jessie912 阅读(184) 评论(0) 推荐(0) 编辑
摘要: zTree -- jQuery 树插件:http://www.treejs.cn/v3/main.php#_zTreeInfo 阅读全文
posted @ 2017-07-06 14:43 jessie912 阅读(153) 评论(0) 推荐(0) 编辑
摘要: URL传参中文出现乱码 URL传参中文出现乱码 阅读全文
posted @ 2017-07-04 13:36 jessie912 阅读(204) 评论(0) 推荐(0) 编辑
摘要: ocument.hidden:表示页面是否隐藏的布尔值。页面隐藏包括 页面在后台标签页中 或者 浏览器最小化 (注意,页面被其他软件遮盖并不算隐藏,比如打开的 sublime 遮住了浏览器)。 document.visibilityState:表示下面 4 个可能状态的值 hidden:页面在后台标 阅读全文
posted @ 2017-06-29 16:32 jessie912 阅读(342) 评论(0) 推荐(0) 编辑
摘要: //代码如下所示: function convertCurrency(money) { //汉字的数字 var cnNums = new Array('零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'); //基本单位 var cnIntRadice = new Array('', '拾', '佰', '仟'); //对应整数部 阅读全文
posted @ 2017-06-28 10:40 jessie912 阅读(2641) 评论(0) 推荐(0) 编辑