濮阳杆衣贸易有限公司

主頁 > 知識庫 > IE7下ajax之open Method New的說明

IE7下ajax之open Method New的說明

熱門標(biāo)簽:辰溪地圖標(biāo)注 澳大利亞城市地圖標(biāo)注 遼寧銀行智能外呼系統(tǒng) 海南銀行智能外呼系統(tǒng)商家 姜堰電銷機(jī)器人 遼寧正規(guī)電銷機(jī)器人 許昌智能電銷機(jī)器人公司 電銷機(jī)器人違法了嗎 上海浦東騰訊地圖標(biāo)注位置
open Method Assigns method, destination URL, and other optional attributes of a pending request.
Syntax
XMLHttpRequest.open(sMethod, sUrl [, bAsync] [, sUser] [, sPassword])[/pre]
Parameters
sMethod Required. String that specifies the HTTP method used to open the connection: such as GET, POST, or HEAD. This parameter is not case-sensitive.
sUrl Required. String that specifies either the absolute or a relative URL of the XML data or server-side XML Web services.
bAsync Optional. Variant that specifies true for asynchronous operation (the call returns immediately), or false otherwise. If true, assign a callback handler to the onreadystatechange property to determine when the call has completed. If not specified, the default is true.
sUser Optional. Variant that specifies the name of the user for authentication. If this parameter is null ("") or missing and the site requires authentication, the component displays a logon window.
sPassword Optional. Variant that specifies the password for authentication. This parameter is ignored if the user parameter is null ("") or missing.
Return Value
No return value.
Remarks
open was introduced in Internet Explorer 7.
The following HTTP verbs and World Wide Web Distributed Authoring and Versioning (WebDAV) methods are supported:
  • GET
  • POST
  • HEAD
  • PUT
  • DELETE
  • MOVE
  • PROPFIND
  • PROPPATCH
  • MKCOL
  • COPY
  • LOCK
  • UNLOCK
  • OPTIONS
Microsoft Internet Explorer caches the results of HTTP GET requests in the Temporary Internet Files (TIF) folder. In most cases, caching improves performance for data that will not change frequently. To guarantee that the results are not cached, use POST.

Security Alert  Cross-domain, cross-port, and mixed protocol requests are not allowed. The sUrl parameter may only specify XML data files in the same domain, using the same port and protocol method, as that from which the page is served. Although this method accepts credentials passed via parameter, those credentials are not automatically sent to the server on the first request. The sUser and sPassword parameters are not transmitted unless the server challenges the client for credentials with a 401 - Access Denied response.
After calling this method, use send to send the request and data, if any, to the server.
Applies To
XMLHttpRequest
See Also
abort, onreadystatechange

標(biāo)簽:伊春 銅川 晉城 撫州 崇左 威海 深圳 西藏

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《IE7下ajax之open Method New的說明》,本文關(guān)鍵詞  IE7,下,ajax,之,open,Method,New,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《IE7下ajax之open Method New的說明》相關(guān)的同類信息!
  • 本頁收集關(guān)于IE7下ajax之open Method New的說明的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    安泽县| 金平| 沧州市| 宝丰县| 东平县| 长岛县| 安平县| 南木林县| 民丰县| 贵定县| 萝北县| 汾阳市| 璧山县| 奎屯市| 乐安县| 平武县| 顺义区| 义乌市| 阳谷县| 柳州市| 凌云县| 普兰县| 武鸣县| 南岸区| 焦作市| 孝昌县| 舞阳县| 汽车| 石首市| 南陵县| 从化市| 昌乐县| 黑山县| 乌鲁木齐县| 石城县| 嘉峪关市| 中山市| 伊宁县| 花莲市| 伊金霍洛旗| 宝兴县|