2016年10月21日
摘要: new Ext.form.DateTimeField({ id: 'SdDateField', width: 130, format: 'Y-m-d H:i', editable: false, value: SD, listeners: { 'select': function (dp, newV 阅读全文
posted @ 2016-10-21 16:48 李九妹 阅读(244) 评论(0) 推荐(0) 编辑
  2016年8月19日
摘要: 如果楼主使用.net开发,要注意FormsAuthentication.SetAuthCookie 方法的使用会导致ios出现该问题。因为这个方法在ios设备上是把票据加入到url中,导致url和你的授权目录不匹配。 解决办法:Web配置文件中的forms节点的cookieless属性设置为“Use 阅读全文
posted @ 2016-08-19 10:33 李九妹 阅读(451) 评论(0) 推荐(0) 编辑
  2016年6月15日
摘要: <!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 --> <html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --> <head> <!-- 声明文档使用的字符编码 --> <me 阅读全文
posted @ 2016-06-15 15:39 李九妹 阅读(286) 评论(0) 推荐(0) 编辑
  2016年6月2日
摘要: 虽然dedecms.com向大家介绍了很多CSS属性的相关知识,但有些非常冷门的属性还是有所欠缺。在B/S程序中,对打印页面的控制,CSS相对比较弱,例如: 自动分页, 就基本没啥实际用途。我们通常需要自己在需要的时候,强制浏览器分页,这时可以使用以下样式:示例代码 [www.dedecms.com 阅读全文
posted @ 2016-06-02 10:04 李九妹 阅读(10186) 评论(0) 推荐(1) 编辑
  2016年5月31日
摘要: 模糊搜索keyup无效,解决方案如下 //手机网站解决keyup的方法 $(function () { $('#repairsearch').bind('focus', filter_time); }); var str = ''; //传入参数 var now = ''; filter_time 阅读全文
posted @ 2016-05-31 11:43 李九妹 阅读(615) 评论(0) 推荐(0) 编辑
  2016年2月25日
摘要: js 对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent 1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截 阅读全文
posted @ 2016-02-25 11:31 李九妹 阅读(1058) 评论(0) 推荐(0) 编辑
  2015年4月18日
摘要: // 加入收藏 加入收藏function AddFavorite(sURL, sTitle) { try { window.external.addFavorite(sURL, sTitle); } catch (e) { try { window.sidebar.addPanel(sTitle, ... 阅读全文
posted @ 2015-04-18 17:52 李九妹 阅读(518) 评论(0) 推荐(0) 编辑
摘要: html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margi 阅读全文
posted @ 2015-04-18 17:09 李九妹 阅读(188) 评论(0) 推荐(0) 编辑
摘要: /*创建取拼音首字母函数*/ create function [dbo].[fn_ChineseToSpell](@strChinese varchar(500)='') returns varchar(500) as begin /*函数实现开始*/ declare @strLen int,@r... 阅读全文
posted @ 2015-04-18 17:03 李九妹 阅读(709) 评论(0) 推荐(0) 编辑
  2015年3月11日
摘要: function getDate(str_time) { var re = new RegExp('\\/Date\\(([-+])?(\\d+)(?:[+-]\\d{4})?\\)\\/'); var r = (str_time || '').match... 阅读全文
posted @ 2015-03-11 18:42 李九妹 阅读(988) 评论(0) 推荐(0) 编辑