您现在的位置是:永利皇宫网页入口-yl6809永利官网 > 网页制作
ie7下ajax之open method new的说明-永利皇宫网页入口
襄阳襄助网络有限公司2024-08-19 00:19:57【网页制作】4人已围观
简介襄阳襄助网络有限公司(www.scgcj09.com)成立于2014年,提供宠物食品、玩具、护理用品,以及宠物美容和寄养服务。宠物店电话:13515397389,欢迎来电。
open method assigns method,说明 destination url, and other optional attributes of a pending request.syntax




xmlhttprequest.open(smethod, surl[, basync][, suser][, spassword])[/pre]parameters

return value
smethod required. stringthat specifies the http method used to open the connection: such as get, post, or head. this parameter is not case-sensitive. surl required. stringthat specifies either the absolute or a relative url of the xml data or server-side xml web services. basync optional. variantthat 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. variantthat 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. variantthat specifies the password for authentication. this parameter is ignored if the user parameter is null ("") or missing.

no return value.remarks
openwas introduced in internet explorer 7.applies to
the following http verbs and world wide web distributed authoring and versioning (webdav) methods =700) window.open('https://images.home1024.com/images/200706/2007060730010277_1.gif');" src="https://images.home1024.com/images/200706/2007060730010277_1.gif" onload="if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';" border="0">are supported: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.
- get
- post
- head
- put
- delete
- move
- propfind
- proppatch
- mkcol
- copy
- lock
- unlock
- options
=700) window.open('https://images.home1024.com/images/200706/2007060730010277_2.gif');" src="https://images.home1024.com/images/200706/2007060730010277_2.gif" onload="if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';" border="0">security alertcross-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.
see also
xmlhttprequest
abort, onreadystatechange
以上就是【ie7下ajax之open method new的说明】的全部内容了,欢迎留言评论进行交流!
很赞哦!(9613)
上一篇: 抖音收入如何缴纳税金?(掌握税法)