This is an ambitious project to add offline capabilities to jQuery. It will directly compete with the Dojo offline toolkit and interface with Google Gears API.
With Gears support for Opera 9.5 offline is becoming a very interesting area especially the mobile capabilities that come with it.
This plugin / extension will provide the following: Offline capabilities; Data storage; Data Sync. The plugin will eventually become a package of several plugins, a few candidate names are:
If anyone has seen anything similar for jQuery or has experience with Gears please let me know. I'd love to talk to you :)
我正在使用JQuery进行AJAX,但每次在断开另一个AJAX请求后都必须执行“onSuccess”事件。Jquery ajax onSuccess事件 下面是代码: d.ajax({ url: f.options.url.offline, dataType: "jsonp", jsonp: "callback", cache: false, data: { status: "offline",
//密码可见切换 $("i.pwd-icon").on("click", function() { if($(this).hasClass("icon-eye_protection")) { // 令其可见 $("#txtPwd").attr("type", "text"); $(this).removeClass("icon-eye_protection") .addClass("ico
本文要介绍的,是 HTML5 离线网络应用程序的特性,离线网络应用程序在 W3C 中的实际名称是 "Offline Web applications" ,也称离线缓存。当用户打开浏览器时,浏览器会将一个列表中指定的资源都下载并储存在本地。下次当用户再访问这个网络程序时,浏览器会自动引用本地缓存中相应的文件,而不会再从网络下载这些资源。不管离线网络应用程序是否专为 Web Apps 而设,但这对于