<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 周銳 閱讀(464) 評論(0)  編輯  收藏 所屬分類: Ajax 、JavaScript
    主站蜘蛛池模板: 一级做a爰片久久毛片免费陪| 亚洲人成7777| 久久久久久毛片免费看| 亚洲A∨午夜成人片精品网站 | 亚洲AV日韩AV永久无码久久| aaa毛片免费观看| 久久久久久久尹人综合网亚洲| 中国一级特黄高清免费的大片中国一级黄色片 | 亚洲国产精品SSS在线观看AV| 男女一进一出抽搐免费视频| 久久久久亚洲av成人无码电影 | 自拍偷自拍亚洲精品情侣| 黄色a级免费网站| 在线播放亚洲第一字幕| 两个人www免费高清视频| 久久青草亚洲AV无码麻豆| 91精品免费久久久久久久久| 久久精品亚洲AV久久久无码 | 国产精品亚洲综合一区| 精品国产污污免费网站| 亚洲网站视频在线观看| 毛片高清视频在线看免费观看| 亚洲aⅴ无码专区在线观看春色 | 亚洲熟妇自偷自拍另欧美| 国产成人精品男人免费| 久久最新免费视频| 亚洲精品国产福利片| 大陆一级毛片免费视频观看 | 亚洲日韩国产精品乱| 久久久久成人片免费观看蜜芽| 亚洲国色天香视频| 俄罗斯极品美女毛片免费播放 | 国产成人精品免费视频网页大全| 亚洲精品动漫免费二区| 国产亚洲精品自在线观看| 国产高清不卡免费在线| 国产亚洲综合久久| 亚洲成A∨人片在线观看无码| 四虎免费久久影院| 3344永久在线观看视频免费首页| 亚洲丁香婷婷综合久久|