/*
Script: Ajax.js
Contains the <Ajax> class. Also contains methods to generate querystings from forms and Objects.
Credits:
Loosely based on the version from prototype.js <http://prototype.conio.net>
License:
MIT-style license.
*/
/*
Class: Ajax
An Ajax class, For all your asynchronous needs.
Inherits methods, properties, options and events from <XHR>.
Arguments:
url - the url pointing to the server-side script.
options - optional, an object containing options.
Options:
data - you can write parameters here. Can be a querystring, an object or a Form element.
update - $(element) to insert the response text of the XHR into, upon completion of the request.
evalScripts - boolean; default is false. Execute scripts in the response text onComplete. When the response is javascript the whole response is evaluated.
evalResponse - boolean; default is false. Force global evalulation of the whole response, no matter what content-type it is.
Events:
onComplete - function to execute when the ajax request completes.
Example:
>var myAjax = new Ajax(url, {method: 'get'}).request();
*/
'Dev Story > dev' 카테고리의 다른 글
SDN AJAX 개발자 리소스 센터 (0) | 2007.11.01 |
---|---|
[mootools] XHR.js (0) | 2007.10.16 |
The server reported an error while performing the "cvs add" command. (0) | 2007.10.08 |
CVS 관련 링크 (0) | 2007.10.02 |
DTD(문서 타입 정의) 문서 타입 선언 종류 (0) | 2007.09.18 |