07 2015 档案

摘要:Math.floor(Math.random()*5) 阅读全文
posted @ 2015-07-22 11:04 sunhaikuo 阅读(142) 评论(0) 推荐(0)
摘要: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)