<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 431,  comments - 344,  trackbacks - 0

    Syntax
      new Ajax.Updater(container, url, options);
    // make a HTTP request to the specified URL and update the 'container' element.

    Note: to only update a div on success, you may optionally substitute a property list for a simply element id (ie {success:’div_name’} instead of ‘div_name’)

    Options

    Option Default value Description
    asynchronous true Type of request
    evalScripts false When set as “true”, scripts in requested url are evaluated
    method ‘post’ Lets you decide whether to use Get or Post for the request to the server
    contentType ‘application/x-www-form-urlencoded’ Allows you to set the content-type sent to the server
    encoding ‘UTF-8’ Allows you to determine the encoding type information given to the server
    parameters ’’ Allows you to attach parameters to your AJAX request. Most common: parameters:Form.serialize(this)
    postBody ’’ Specify data to post. Something like: postBody:’thisvar=true&thatvar=Howdy’ How does this differ from parameters?
    username ’’
    password ’’
    requestHeaders ’’ Allows you to override the headers, see the Prototype AJAX options for details
    onComplete ’’ Function to call on completion of request
    onSuccess ’’ Function to call on successful completion of request
    onFailure ’’ Function to call on failed request
    onException ’’ Function to call on failed request (e.g. attempted cross-site request)
    on + Status Code ’’ on404 etc. raise an event when given status code is encountered.
    insertion None Instead of inserting the response in the existing content (possibly overwriting it) you can pass a valid Insertion object, such as Insertion.Top, Insertion.Bottom, Insertion.Before or Insertion.After.

    Hint: If you have set evalScripts:true the script you call (the url parameter) must return a header of ‘Content-Type: text/javascript’ else the browser will not execute it.

    posted on 2008-03-18 17:49 周銳 閱讀(465) 評論(0)  編輯  收藏 所屬分類: AjaxJavaScript
    主站蜘蛛池模板: 思思re热免费精品视频66| 亚洲国产精品综合久久网络| 亚洲一级大黄大色毛片| 国产成人涩涩涩视频在线观看免费 | 一个人看的www在线观看免费| 丰满亚洲大尺度无码无码专线 | 99在线热视频只有精品免费| 亚洲国产AV无码一区二区三区| 国产精品亚洲精品日韩已方| 四虎在线最新永久免费| 日日摸夜夜添夜夜免费视频| 亚洲精品国产手机| 亚洲欧洲国产成人综合在线观看 | 一级全免费视频播放| 亚洲国产日韩在线一区| 国产亚洲午夜高清国产拍精品| 国产香蕉免费精品视频| 一级人做人a爰免费视频| 亚洲人成电影网站| 亚洲色大成网站WWW久久九九 | 久久精品视频亚洲| 四虎永久免费地址在线观看| 最近免费视频中文字幕大全| eeuss草民免费| 亚洲日日做天天做日日谢| 亚洲成a人片在线观看日本| 四虎永久免费影院| 国产成人免费高清激情视频| 永久免费AV无码网站国产| 曰批全过程免费视频免费看 | 久久WWW免费人成—看片| 亚洲精华液一二三产区| 亚洲成年人电影在线观看| 国产亚洲3p无码一区二区| 亚洲国产av无码精品| 在线视频免费国产成人 | 亚洲导航深夜福利| 亚洲AV无码日韩AV无码导航| 中文字幕亚洲一区二区三区| 四虎国产精品免费视| 午夜神器成在线人成在线人免费|