XHR

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 09:27:16

软件介绍

This tiny plugin provides a registry for different xhr implementations to co-exist.
It requires jQuery 1.3/1.2.7 with its new feature, the 'xhr' ajax setting.

If you want to provide a new implementation, you need to do this:

jQuery.xhr.register( 'my_xhr', function( settings ){
    return new MyXhrImplementation( settings );
});

The argument settings is the settings object used by jQuery.ajax.

To use it, you do:

$.ajax({
    url:'...',
    transport:'my_xhr',
    // ...
});

The default implementation is used by default (unless it's overriden with ajaxSetup) and it's called 'xhr'.

本文地址:https://www.codercto.com/soft/d/23130.html

JavaScript DOM高级程序设计

JavaScript DOM高级程序设计

Jeffrey Sambells、Aaron Gustafson / 李松峰、李雅雯 / 人民邮电出版社 / 2008-7 / 59.00元

本书注重理论与实践的结合,全面讲述高级的DOM 脚本编程。全书分为3 个部分:第一部分“深入理解DOM 脚本编程”,涉及W3C DOM 规范的各方面,包括非标准的浏览器支持和不支持的内容;第二部分“浏览器外部通信”,以Ajax 和客户端—服务器端通信为主题;第三部分“部分高级脚本编程资源”,集中介绍了一批第三方脚本编程资源,包括库和API。同时,每部分的最后一章都为案例研究,将学到的内容应用于实践......一起来看看 《JavaScript DOM高级程序设计》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码