⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 目录树,在脚本中可以直接调用后台java代码,动态加载数据至页面显示.
💻
字号:
Connection Manager Release Notes*** version 2.3.0 **** Custom Events are introduced in Connection Manager.  These events -- for anon-file upload transaction -- are:   * startEvent   * completeEvent   * successEvent   * failureEvent   * abortEventFor transactions involving file upload with an HTML form, the events are:   * startEvent   * completeEvent   * uploadEvent   * abortEvent* Event utility is a now Connection Manager dependency.* abort() and isCallInProgress() are now functional for file uploadtransactions.* NOTE: The XHR implementation in Safari 2.0.4 has been confirmed to leakmemory.* UPDATE: The XHR implementation in Safari 3.0 beta(and WebKit builds) nowappear to handle HTTP 204 responses correctly.  XHR in Opera, as of 9.21, stilldoes not produce a valid HTTP status code with an HTTP 204 response.*** version 2.2.2 **** No revisions.*** version 2.2.1 **** setForm() will include the correct name-value of the HTML Submit buttonclicked where multiple HTML Submit button options are present in an HTML form.To enable this feature, include the Event utility source file as a dependencybefore the Connection Manager source file.* The XHR implementation in IE6 and IE7, Opera, and Safari do not properlyhandle an HTTP 204 response.  IE6/7 will instead return a Win error 1223.handleTransactionResponse() will treat 1223 as an HTTP 204, and route theresponse appropriately to the success callback.  createResponseObject() willnormalize the response object's status and statusText values to 204 and "NoContent" respectively.  However, no headers are returned.Opera and Safari provide no discernable response with HTTP 204(e.g., responseobject's properties are undefined).  This response will trigger the failurecallback with a status of 0 and statusText of "communication failure".*** version 2.2.0 **** initHeader() now accepts a third argument as a boolean.  When set to true,this specific header will automatically be sent with each transaction.Otherwise, the header will be set and sent for the specific transaction only.Example: initHeader('X-YUI-State','Beta', true); all transactions will send thisheader.   * resetDefaultHeaders() will clear the default headers collection.* All Connection Mananger transactions will broadcast the header: "X-Requested-With: XMLHttpRequest".   * This can be turned off: YAHOO.util.Connect.setDefaultXhrHeader(false);* The HTTP method argument in asyncRequest is now case-insensitive.* uploadFile() will now correctly handle the absence of a callback object,allowing the transaction to complete silently.*** version 0.12.2 **** The Opera/Connection Manager concurrent object condition, described in version0.12.0, no longer tests applies for Opera, version 9.10.*** version 0.12.1 **** connection-debug.js corrected and synchronized with connection.js.  Codeinconsistencies between the two files existed in 0.12.0.*** version 0.12.0 **** When uploading files via setForm() and asyncRequest includes a POST dataargument, appendPostData() will create hidden input fields for each postDatalabel/value and append each field to the form object.* setForm() returns the assembled label/value string of the parsed HTML formfields.* NOTE: Opera 9.02 does not allow for more than 12 concurrent Connection Managerobjects.The following example creates 12 requests in a loop:for(var n=0; n<=12; i++){  conn[n] = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);}If n > 13, Opera 9.02 will crash.  Connection manager objects count n must be <=12 at all times.  This condition was not present in Opera version 9.01.This condition does not apply to other A-Grade browsers (http://developer.yahoo.com/yui/articles/gbs/gbs_browser-chart.html)*** version 0.11.3 **** YUI Event dependency for file uploading is now optional.* uploadFile() now sets unique IDs for each file upload transaction to preventiframe collisions with parallel uploads.* The callback object now has property responseXML to provide support for fileupload transactions that return an XML document.* setForm() will verify if a select option value attribute is present and useits value, including empty string, before using the text node value.* Modified polling mechanism in handleReadyState() andhandleTransactionResponse() to prevent infinite polling if JavaScript errorsoccur in the user-defined callback.* createFrame() will now accept a boolean argument of true to set the framesource to "javascript:false" to prevent IE from throwing security warnings in anHTTPS environment.* setHeader() now enumerates through the _http_header object usinghasOwnProperty() to prevent collisions with members added to Object viaprototype.* If using setForm() and asyncRequest includes a POST data argument, the datawill be concatenated to the HTML form POST message.*** version 0.11.2 **** No revisions.*** version 0.11.1 **** uploadFile() now verifies the existence of callback.upload before invokingcallback, with or without object scope.*** version 0.11.0 **** Each transaction can be defined with a timeout threshold, in milliseconds,through the callback object.  If the threshold is reached, and the transactionhasn't yet completed, the transaction will call abort().* abort() will now accept a callback object as the second argument.  Thefailure callback will receive a response object to indicate the transaction wasaborted.* setForm() will now support file uploads by setting the second argument totrue (e.g., YAHOO.util.Connect.setForm(formObject, true).  File upload does notuse the callback success or failure handler.  Instead, it uses a new callbackobject handler: upload.* HTML form submit will no longer submit form fields without a defined nameattribute.* The default POST header of 'Content-Type','application/x-www-form-urlencoded'can be overridden by calling setDefaultPostHeader(false).  Thiswill remove the default header from non-HTML form, POST submissions.* setHeader() now enumerates through the _http_header object withpropertyIsEnumerable to prevent collisions with members added to Object viaprototype.*** version 0.10.0 **** handleTransactionResponse() now treats the full HTTP 2xx range as a successcase, instead of just HTTP 200.* To accommodate multiple field values in Mozilla/Firefox, multiple initHeadercalls with the same label will now result in the values concatenated to acomma- delimited string value.Example:Setting Content-Type:'application/x-www-form-urlencoded' and Content-Type:'text/xml' will result in Content-Type:'application/x-www-form-urlencoded,text/xml'.* Default polling interval lowered to 50ms.* YAHOO.util.Connect.setPollingInterval() will allow you to set a pollinginterval -- in milliseconds -- to override the default value.* YAHOO.util.Connect.getResponseHeader[headerLabel] now supported as a responseobject property to provide symmetry with the native XHR object's property.Example:YAHOO.util.Connect.getResponseHeader['Content-Length'] will return the valuefor the Content-Length header, if the header is available.* YAHOO.util.Connect.allResponseHeaders property renamed togetAllResponseHeaders to provide symmetry with the native XHR object'sproperty.* YAHOO.util.Connect.setForm() now supports HTTP GET as well as HTTP POST.* YAHOO.util.Connect.setForm() now accepts an HTML form object as well as itsname attribute value.* YAHOO.util.Connect.setForm() will not submit HTML form fields that aredisabled or do not have a name attribute value.* [FIXED] Response exceptions result in infinite callback loop inMozilla/Firefox.* [FIXED] YAHOO.util.Connect.abort() now properly clears polling interval.* [FIXED] isCallInProgress() now verifies whether XHR instance still exists,and returns false if the connection object is no longer available.*** version 0.9.0 **** Initial release

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -