拒绝浮躁

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年12月7日

摘要: function SpanGrid(tabObj,colIndex){ if(tabObj != null){ var i,j; var intSpan; var strTemp; for(i = 0; i < tabObj.rows.length; i++){ intSpan = 1; strTemp = tabObj.rows[i].cells[colIndex].i... 阅读全文
posted @ 2011-12-07 14:22 拒绝浮躁 阅读(295) 评论(0) 推荐(0) 编辑

2011年11月30日

摘要: 12小时制转24小时制 try { SimpleDateFormat displayFormat = new SimpleDateFormat("HH:mm"); SimpleDateFormat parseFormat = new SimpleDateFormat("hh:mm a",Locale.ENGLISH); Date date = parseFormat.parse("10:30 ... 阅读全文
posted @ 2011-11-30 10:12 拒绝浮躁 阅读(1086) 评论(0) 推荐(0) 编辑

2011年10月12日

摘要: 以下内容转自:http://radiumxie.iteye.com/blog/475001 一、用前必备官方网站:http://bassistance.de/jquery-plugins/jquer... 阅读全文
posted @ 2011-10-12 10:05 拒绝浮躁 阅读(558) 评论(0) 推荐(0) 编辑

2011年9月27日

摘要: jQuery-Select-Test jQuery获取Select选择的Text和Value: 选择一项试试看 语法解释: 1. $("#select_id... 阅读全文
posted @ 2011-09-27 09:05 拒绝浮躁 阅读(365) 评论(0) 推荐(0) 编辑

2011年8月12日

摘要: 转自I文文的空间今天测试代码时,发现不少IE可以运行的ajax,但在FF中报错。IE和Firefox(火狐)在JavaScript方面的不兼容及统一方法总结如下:1.兼容firefox的 outerHTML,FF中没有outerHtml的方法。if (window.HTMLElement) {HTMLElement.prototype.__defineSetter__("outerHTML",function(sHTML) {var r=this.ownerDocument.createRange();r.setStartBefore(this);var df=r.crea 阅读全文
posted @ 2011-08-12 11:54 拒绝浮躁 阅读(430) 评论(0) 推荐(0) 编辑

2011年7月14日

摘要: 1: package test; 2: 3: import javax.script.ScriptEngine; 4: import javax.script.ScriptEngineManager... 阅读全文
posted @ 2011-07-14 10:30 拒绝浮躁 阅读(7944) 评论(1) 推荐(0) 编辑

2011年7月7日

摘要: 一、 jqGrid的加载。 1.引用相关头文件 引入CSS: <link href="Scripts/jquery-ui-1.8.1.custom.css" rel="stylesheet" type... 阅读全文
posted @ 2011-07-07 11:19 拒绝浮躁 阅读(99806) 评论(6) 推荐(11) 编辑

2011年5月20日

摘要: 1. 使用方式, 引入相关js, css后, $(‘#div_name’).fullCalendar({//options}); 接受的是一个option对象 2. 普通属性 2.1. year, m... 阅读全文
posted @ 2011-05-20 16:45 拒绝浮躁 阅读(54506) 评论(7) 推荐(4) 编辑

2011年5月17日

摘要: select getdate()--当前日期2011-05-17 17:01:34.717select month(getdate())--当前月份5select day(getdate())--当前是这个月的第几天17select getdate()-day(getdate())--上个月最后一天2011-04-30 17:01:47.920select dateadd(mm,1,getdate... 阅读全文
posted @ 2011-05-17 17:04 拒绝浮躁 阅读(705) 评论(0) 推荐(0) 编辑

2011年5月12日

摘要: 新建一个文本文档,输入下面的内容,重命名为“a.html”。 1: <textarea id="QQ"></textarea> 2: <script> 3: //document.getElementById("QQ").value = '1111'; 4: document.getElementById("QQ").innerHTML = 'sfsdfsdfsfaf'; 5: document.getElementById("QQ").value 阅读全文
posted @ 2011-05-12 16:24 拒绝浮躁 阅读(5926) 评论(1) 推荐(1) 编辑