随笔分类 -  Html

摘要:1.文件的读取 外部文件读取控件: 调用函数: 通过加载文件,console.log打印验证,发现: 观察发现加载文件后,控件中FileList对象为加载文件信息。 我们可以新建一个Filereader对象reader。 然后调用FileReader的读取方法readAsText。 对应的操作函数如 阅读全文
posted @ 2017-01-23 22:56 aWolfMan 阅读(4705) 评论(0) 推荐(0)
摘要:参考资料: http://web.jobbole.com/89072/ http://www.cnblogs.com/1175429393wljblog/p/5570606.html http://www.cnblogs.com/zftylj/articles/soa04.html 在console 阅读全文
posted @ 2016-12-27 22:55 aWolfMan 阅读(167) 评论(0) 推荐(0)
摘要:常见js函数收集: 转自:http://www.qdfuns.com/notes/36030/2eb2d45cccd4e62020b0a6f0586390af.html 阅读全文
posted @ 2016-12-14 00:25 aWolfMan 阅读(267) 评论(0) 推荐(0)
摘要:将数组转换成json后,存入localStorage https://my.oschina.net/crazymus/blog/371757 http://blog.csdn.net/u011413061/article/details/49999785 时间函数: 阅读全文
posted @ 2016-11-29 00:03 aWolfMan 阅读(178) 评论(0) 推荐(0)
摘要:cookies: http://www.jb51.net/article/14566.htm Web存储 http://www.w3school.com.cn/html5/html_5_webstorage.asp http://blog.csdn.net/renfufei/article/deta 阅读全文
posted @ 2016-11-24 23:54 aWolfMan 阅读(246) 评论(0) 推荐(0)
摘要:echart_test.html demo.js 阅读全文
posted @ 2016-11-20 23:38 aWolfMan 阅读(1642) 评论(0) 推荐(0)
摘要:通过ajax加载本地文件: 1.http://www.cnblogs.com/qjqcs/archive/2016/09/07/5850282.html 2.http://blog.csdn.net/sheila1227/article/details/44035561 3.http://blog. 阅读全文
posted @ 2016-11-16 23:33 aWolfMan 阅读(209) 评论(0) 推荐(0)
摘要:table 数值获取: 1.http://www.w3school.com.cn/jsref/dom_obj_all.asp 2.http://blog.csdn.net/xs_zgsc/article/details/8444695# 3.http://www.jb51.net/article/4 阅读全文
posted @ 2016-11-15 23:51 aWolfMan 阅读(148) 评论(0) 推荐(0)
摘要:1. 如果数据加载时间较长,一个空的坐标轴放在画布上也会让用户觉得是不是产生 bug 了,因此需要一个 loading 的动画来提示用户数据正在加载。 ECharts 默认有提供了一个简单的加载动画。只需要调用 showLoading 方法显示。数据加载完成后再调用 hideLoading 方法隐藏 阅读全文
posted @ 2016-11-14 23:32 aWolfMan 阅读(313) 评论(0) 推荐(0)
摘要:学习网址: http://www.php100.com/http://www.php100.com/manual/jquery/index.htmlHighcharts: http://www.hcharts.cn/demo/highcharts Echart:http://echarts.baid 阅读全文
posted @ 2016-11-13 22:08 aWolfMan 阅读(398) 评论(0) 推荐(0)
摘要:1.页面自动刷新:把如下代码加入<head>区域中<meta http-equiv="refresh" content="20">,其中20指每隔20秒刷新一次页面.2.页面自动跳转:把如下代码加入<head>区域中<meta http-equiv="refresh" content="20;url 阅读全文
posted @ 2016-11-09 22:09 aWolfMan 阅读(2984) 评论(0) 推荐(0)
摘要:1. 确定Transponder开发页面分类,定义负责模块 2. 定义模块页面布局 3. 选择页面各数据对应的控件类型 4. 选定控件对应set/get所用方式 快捷键链接设置: http://www.w3school.com.cn/tags/att_standard_accesskey.asp 空 阅读全文
posted @ 2016-11-04 22:43 aWolfMan 阅读(162) 评论(0) 推荐(0)
摘要:起始预定义函数 1.用户登陆框架 阅读全文
posted @ 2016-09-18 07:33 aWolfMan 阅读(273) 评论(0) 推荐(0)
摘要:查找 HTML 元素 通常,通过 JavaScript,您需要操作 HTML 元素。 为了做到这件事情,您必须首先找到该元素。有三种方法来做这件事: 通过 id 找到 HTML 元素 通过标签名找到 HTML 元素 通过类名找到 HTML 元素 查找 HTML 元素 通常,通过 JavaScript 阅读全文
posted @ 2016-09-13 22:45 aWolfMan 阅读(245) 评论(0) 推荐(0)
摘要:空格 JavaScript 会忽略多余的空格。您可以向脚本添加空格,来提高其可读性。下面的两行代码是等效的: var name="Hello"; var name = "Hello"; 对代码行进行折行 您可以在文本字符串中使用反斜杠对代码行进行换行。下面的例子会正确地显示: document.wr 阅读全文
posted @ 2016-09-13 07:36 aWolfMan 阅读(201) 评论(0) 推荐(0)