• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天道酬勤 厚积薄发

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2015年6月18日

js判断正整数
摘要: //正整数functionisPInt(str){varg=/^[1-9]*[1-9][0-9]*$/;returng.test(str);}//整数functionisInt(str){varg=/^-?\d+$/;returng.test(str);} 阅读全文
posted @ 2015-06-18 16:59 布局者 阅读(140) 评论(0) 推荐(0)
 

2015年2月27日

完美解决监听文本框改变事件
摘要: $('input').bind('input propertychange', function() { //进行相关操作 }); 阅读全文
posted @ 2015-02-27 16:07 布局者 阅读(368) 评论(0) 推荐(0)
 

2015年2月4日

bootstrap时间控件显示在模态框下面的解决办法
摘要: 一针见血:修改 bootstrap-datepicker.js 文件var zIndex = parseInt(this.element.parents().filter(function(){return $(this).css('z-index') !== 'auto';}).first().c... 阅读全文
posted @ 2015-02-04 18:09 布局者 阅读(810) 评论(0) 推荐(1)