2013年6月26日
摘要: 1、添加10个div,并添加onclick事件,把对应的添加序号显示出来。 阅读全文
posted @ 2013-06-26 15:15 jian_xie 阅读(148) 评论(0) 推荐(0) 编辑
  2013年4月26日
摘要: 1、在循环中删除数组一个元素。 splice(i--, 1);2、时间格式化。 new Date().format("yyyy-MM-dd hh:mm:ss"); new Date().format("yyyy年MM月dd日 hh时mm分ss秒");Date.prototype.format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+&q 阅读全文
posted @ 2013-04-26 17:20 jian_xie 阅读(155) 评论(0) 推荐(0) 编辑
  2012年10月24日
摘要: 1、configuration文件夹下必须文件 org.eclipse.equinox.simpleconfigurator、org.eclipse.equinox.source、org.eclipse.update、config.ini 2、eclipse 安装 jetty 插件 Eclipse 阅读全文
posted @ 2012-10-24 00:36 jian_xie 阅读(508) 评论(0) 推荐(0) 编辑
  2012年9月4日
摘要: 1 2 3 34 35 36 阅读全文
posted @ 2012-09-04 14:41 jian_xie 阅读(256) 评论(0) 推荐(0) 编辑
  2012年8月1日
摘要: 基本组件:xtypeClass描述buttonExt.Button按钮splitbuttonExt.SplitButton带下拉菜单的按钮cycleExt.CycleButton带下拉选项菜单的按钮buttongroupExt.ButtonGroup编组按钮(Since 3.0)sliderExt.Slider滑动条progressExt.ProgressBar进度条statusbarExt.StatusBar状态条,2.2加进来,3.0 又去了colorpaletteExt.ColorPalette调色板datepickerExt.DatePicker日期选择面板容器及数据类组件xtypeC 阅读全文
posted @ 2012-08-01 17:04 jian_xie 阅读(205) 评论(0) 推荐(0) 编辑
  2012年7月25日
摘要: js插件:JSEclipse\spkethttp://spket.com/web打印:格式化工具:anyedithttp://andrei.gmxhome.de/anyedit灯箱:http://www.fancybox.net/图片加载:http://www.appelsiini.net/proj... 阅读全文
posted @ 2012-07-25 16:39 jian_xie 阅读(162) 评论(0) 推荐(0) 编辑
  2012年7月23日
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$验证n位的数字:^\d{n}$验证至少n位数字:^\d{n,}$验证m-n位的数字:^\d{m,n}$验证零和非零开头的数字:^(0|[1-9][0-9]*)$验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$验证非零的正整数:^\+?[1-9][0-9]*$验证非零的负整数:^\-[1-9][0-9]*$验证非负整数(正整数 + 0) ^\d+$验证非正整数(负整数 + 0) ^((-\d+)|(0+))$验证长度为3的字符:^.{3}$验证由26个英文.. 阅读全文
posted @ 2012-07-23 15:53 jian_xie 阅读(214) 评论(0) 推荐(0) 编辑
  2012年7月6日
摘要: 阅读全文
posted @ 2012-07-06 14:32 jian_xie 阅读(1512) 评论(0) 推荐(0) 编辑
  2012年7月5日
摘要: //弹出窗口的宽度var iWidth;//弹出窗口的高度var iHeight; var y = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置;var x = (window.screen.availWidth-10-iWidth)/2; //获得窗口的水平位置;window.open(url,name,'height='+iHeight+',,innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+& 阅读全文
posted @ 2012-07-05 16:31 jian_xie 阅读(5902) 评论(0) 推荐(0) 编辑