最新的$.ajax

| |
[不指定 2008/06/24 16:41 | by Else ]
async Boolean Default: true
By default, all requests are sent asynchronous (e.g. this is set to true by default). If you need synchronous requests, set this option to false. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active.
beforeSend Function  
A pre-callback to modify the XMLHttpRequest object before it is sent. Use this to set custom headers etc. The XMLHttpRequest is passed as the only argument. This is an Ajax Event. You may return true in function to cancel the request.

function (XMLHttpRequest) {
  this; // the options for this ajax request
}

内文分页: [1] [2]


作者:Else 's Blog
地址:http://www.aixq.com/post/1085/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“最新的$.ajax”相关内容
  • 中查看更多“最新的$.ajax”相关内容
  • 中查看更多“最新的$.ajax”相关内容
  • 中查看更多“最新的$.ajax”相关内容
  • 中查看更多“最新的$.ajax”相关内容
  • 中查看更多“最新的$.ajax”相关内容

  • 最后编辑: Else 编辑于2008/06/25 09:04
    Tags: ,
    自己 感悟 信念 | 评论(1) | 引用(0) | 阅读(2105)
    Else Email Homepage
    2008/06/24 16:46
    cache的功能可可以让程式少写了点

    Only for requests with 'jsonp' or 'script' dataType and GET type. Forces the request to be interpreted as a certain charset. Only needed for charset differences between the remote and local content.

    看来只有这两个了
    分页: 1/1 第一页 1 最后页
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]