奔跑吧,小肥羊!
摘要: input输入框中限定只能输入正整数,否则报错。function isInteger(num) { if(num * 10 % 10 == 0){ return num >= 0; }else{ return false; }}function checkNum(obj, i... 阅读全文
posted @ 2015-07-17 18:31 xiayedexin 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 移动端按钮被点击时,外边缘会有蓝框出现,,下面的代码可以去掉蓝框效果,修复蓝边。button,html input[type="button"] { outline:none;} 阅读全文
posted @ 2015-07-17 17:53 xiayedexin 阅读(737) 评论(0) 推荐(0) 编辑