认识WebSQLch14. 插件的使用
1)创建数据库;2)创建交易(Transaction);3)执行SQL语法;4)取得SQL执行结果
增删改查
关系型数据库的一切可用技巧
读取文本文件:将input元素的type属性设置为file
<input type="file" name="file_name">
file组件,两个属性,accept和multiple
读取文件:
var r = new FileReader();
表格排序插件tablesorterPart4 打包与测试
http://tablesorter.com/docs
高级应用:默认排序、奇偶行分色
$("#myTable").tablesorter({widgets: ['zebra']});
日期选择器Datepicker
https://github.com/arschmitz/jquery-mobile-datepicker-wrapper
日历插件FullCalendar
http://arshaw.com/fullcalendar
ch15 下载与安装Apache Cordova
Cordova是免费且开源的移动开发框架
(可将写好的网页封装成Android APP)
使用NodeJS的NPM套件通过Command-Line Interface安装
必要工具:NodeJS、Java JDK、Android 的SDK、Apache Ant
首先安装NodeJS(http://nodejs.org/)
npm install -g cordova