![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
爱我你会火_
仰望高端玩家
展开
-
Jquery工具
1、关于页面元素的引用通过jquery的$()引用元素包括通过id、class、元素名以及元素的层级关系及dom或者xpath条件等方法,且返回的对象为jquery对象(集合对象),不能直接调用dom定义的方法。 2、jQuery对象与dom对象的转换只有jquery对象才能使用jquery定义的方法。注意dom对象和jquery对象是有区别的,调用方法时要注意操作的是dom对象还转载 2017-05-25 14:25:51 · 183 阅读 · 0 评论 -
html2canvas保存图片 微信分享
1. 截图.html html2canvas function takeScreenshot() { html2canvas(document.getElementById('body'), { onrendered: function(canvas) { document原创 2018-01-31 09:43:28 · 7148 阅读 · 2 评论 -
最简单js 获取当前国家 省份 城市等信息
引入jquery.js $.getScript('http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js',function(){ alert(JSON.stringify(remote_ip_info)); alert(remote_ip_info.country);//国家 alert(remote_ip_i原创 2018-01-29 15:10:55 · 12894 阅读 · 1 评论 -
js获取url(request)中的参数
js获取url(request)中的参数index.htm?参数1=数值1&参数2=数值2&参数3=数据3&参数4=数值4&......静态html文件js读取url参数,根据获取html的参数值控制html页面输出。 一、字符串分割分析法。这里是一个获取URL带REQUESTRING参数的JAVASCRIPT客户端解决方案。相当于asp的request.q转载 2018-01-29 16:40:41 · 7439 阅读 · 0 评论 -
手机版h5城市选择
1. 效果图2. 下载地址链接: http://download.csdn.net/download/yuzhiqiang_1/10026485原创 2017-10-17 17:29:02 · 2331 阅读 · 2 评论