![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML
JaniceDong
勤能补拙
展开
-
HTML乱码问题和header结构
原文链接:http://www.cnblogs.com/FlyCat/archive/2012/06/27/2566325.htmlHTML乱码问题和header结构有时候页面中的中文打开后变成乱码,主要是编码问题在DOCTYPE标签后加入charset对应页面的编码,不一定是utf-8,也可能是gb2312,gbk等,根据实际情况修改HTML head转载 2017-02-20 11:41:08 · 885 阅读 · 0 评论 -
HTML5离线存储
HTML5离线存储原创 2017-02-21 09:33:06 · 463 阅读 · 0 评论 -
获取iframe中的元素
原文地址:http://blog.csdn.net/kaixuanfeng2012/article/details/45234119jQuery取得iframe中元素的几种方法在iframe子页面获取父页面元素代码如下:$('#objId', parent.document);// 搞定...在父页面 获取iframe子页面的元素代码如下转载 2017-08-09 11:48:41 · 2800 阅读 · 0 评论 -
H5地理定位
$("#btn").click(function() { if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition, showError); } else { console.log("Geolocation is not supported by this原创 2017-08-22 15:56:06 · 499 阅读 · 0 评论