
HTML
洛小豆
个人微信公众号:三更编程菌,科技小豆。入门级开发人员
展开
-
input框触发回车事件
window.event只能在IE下运行,不能在firefox下运行,这是因为firefox的event只能在事件发生的现场使用。 在firefox里直接调用event对象会报undefined。 *firefox需要传递event对象,书写必须为event <input type="text" onkeydown="keyup_submit(event);"> <...转载 2019-04-25 23:29:05 · 10714 阅读 · 0 评论 -
解决微信内置浏览器缓存问题的三个方法
方法1--在代码头部加以下meta标签 <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" c...转载 2019-04-22 12:17:17 · 11986 阅读 · 1 评论