源码网,源码论坛,源码之家,商业源码,游戏源码下载,discuz插件,棋牌源码下载,精品源码论坛

 找回密码
 立即注册
查看: 603|回复: 19

[AJAX相关] IE7下ajax之open Method New的说明

[复制链接]

7万

主题

861

回帖

32万

积分

论坛元老

Rank: 8Rank: 8

积分
329525
发表于 2007-6-10 00:00:00 | 显示全部楼层 |阅读模式
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 '700')this.width='700';if(this.height>'700')this.height='700';" border=0> 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
回复

使用道具 举报

16

主题

1万

回帖

376

积分

中级会员

Rank: 3Rank: 3

积分
376
发表于 2022-10-14 22:39:28 | 显示全部楼层
收下来看看怎么样
回复 支持 反对

使用道具 举报

1

主题

1万

回帖

79

积分

注册会员

Rank: 2

积分
79
发表于 2022-10-17 19:07:31 | 显示全部楼层
1312315458748777
回复 支持 反对

使用道具 举报

0

主题

1万

回帖

0

积分

中级会员

Rank: 3Rank: 3

积分
0
发表于 2022-12-6 19:20:25 | 显示全部楼层
灌灌灌灌水
回复 支持 反对

使用道具 举报

2

主题

1万

回帖

69

积分

注册会员

Rank: 2

积分
69
发表于 2023-1-13 16:55:56 | 显示全部楼层
收下来看看怎么样
回复 支持 反对

使用道具 举报

9

主题

1万

回帖

420

积分

中级会员

Rank: 3Rank: 3

积分
420
发表于 2023-1-22 21:43:14 | 显示全部楼层
笑纳了老板
回复 支持 反对

使用道具 举报

3

主题

1万

回帖

301

积分

中级会员

Rank: 3Rank: 3

积分
301
发表于 2023-1-23 20:47:23 | 显示全部楼层
搞个免费的用用
回复 支持 反对

使用道具 举报

0

主题

1万

回帖

0

积分

中级会员

Rank: 3Rank: 3

积分
0
发表于 2023-1-27 18:07:00 | 显示全部楼层
8888888888888888
回复 支持 反对

使用道具 举报

0

主题

1万

回帖

0

积分

中级会员

Rank: 3Rank: 3

积分
0
发表于 2023-3-30 20:19:44 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

2

主题

1万

回帖

146

积分

注册会员

Rank: 2

积分
146
发表于 2023-9-8 04:46:00 | 显示全部楼层
怕怕怕怕怕怕怕怕怕怕怕怕怕怕
回复 支持 反对

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

手机版|小黑屋|网站地图|源码论坛 ( 海外版 )

GMT+8, 2024-9-21 03:25 , Processed in 0.088534 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表