会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孙海阔-前端工程师
博客园
首页
新随笔
联系
订阅
管理
07 2015 档案
js 随机指定范围数
摘要:Math.floor(Math.random()*5)
阅读全文
posted @
2015-07-22 11:04
sunhaikuo
阅读(142)
评论(0)
推荐(0)
360或其他双核浏览器下在兼容模式用chrome内核渲染的方法
摘要:
阅读全文
posted @
2015-07-10 17:41
sunhaikuo
阅读(297)
评论(0)
推荐(0)
js统计字符出现次数
摘要:vars="TheraininSpainfallsrainmainlyintherainplain";varreg=newRegExp("rain","g");alert(s.match(reg).length);
阅读全文
posted @
2015-07-02 23:33
sunhaikuo
阅读(268)
评论(0)
推荐(0)
冒泡事件
摘要:function stopMP(e) { if (!e) { e = window.event; } e.cancelBubble = true; if (e.stopPropagation) { e.stopPropagation(); }...
阅读全文
posted @
2015-07-01 18:35
sunhaikuo
阅读(126)
评论(0)
推荐(0)
公告