摘要: 转自知乎:https://www.zhihu.com/question/35866596 阅读全文
posted @ 2019-09-25 19:56 段毅_DoinG 阅读(86) 评论(0) 推荐(0) 编辑
摘要: http://www.open-open.com/lib/view/open1328069889514.html 阅读全文
posted @ 2016-08-12 09:43 段毅_DoinG 阅读(93) 评论(0) 推荐(0) 编辑
摘要: http://www.runoob.com/w3cnote/front-end-developer-questions-and-answers.html 阅读全文
posted @ 2016-08-04 10:36 段毅_DoinG 阅读(84) 评论(0) 推荐(0) 编辑
摘要: config(['$locationProvider', '$urlRouterProvider','$httpProvider', function($locationProvider, $urlRouterProvider, $httpProvider) { $locationProvider.hashPrefix('!'); $urlRouterProvider.other... 阅读全文
posted @ 2016-07-20 14:36 段毅_DoinG 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 当我们把input-file隐藏掉了,当点击一个按钮时,使input-file出发click事件,但是ie8确拒绝使用这种方式,也拒绝提交form表单,必须直接点击到input-file 上才会让form提交,所以解决方案是把input-file 变透明,放到那个按钮上,实现真正的点击即可。 阅读全文
posted @ 2016-03-13 23:27 段毅_DoinG 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 添加到网页头部即可。 阅读全文
posted @ 2016-03-12 09:50 段毅_DoinG 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 在手机浏览器中,长按可选中文本,但如果在应用中,会给人一种异样的感觉,可用如下代码禁用此功能。 * { -webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:none; -moz-user-select:no 阅读全文
posted @ 2016-02-26 09:59 段毅_DoinG 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 虽然很简单,但是很实用,记录下来,兼容IE8以上及其他主流浏览器<input autocomplete="off" id="Order" maxlength="9" oninput="this.value=this.value.replace(/\D/g,'')"其中replace函数里的正则表达式... 阅读全文
posted @ 2015-11-26 21:47 段毅_DoinG 阅读(336) 评论(0) 推荐(0) 编辑
摘要: http://www.css88.com/book/css/ 用于CSS查找http://jquery.cuishifeng.cn/ 用于js查找http://www.html5china.com/manual/html5/index.htm 用于h5查找 阅读全文
posted @ 2015-11-24 11:37 段毅_DoinG 阅读(104) 评论(0) 推荐(0) 编辑