<< Click to Display Table of Contents >>
AjaxAgent.js
Class |
AjaxAgent(targetFunction, async, Boolean Form) |
||
Method |
void |
Open(string Method, targetFunction) |
To create a connection. The strMethod parameter assigns the verb to connect; targetFunction is AJAX service path. If AjaxAgent object has assigned targetFunction parameter, the object will automatically call Open method without additional call. |
Method |
void |
SendRequeset(object PostData, object Succeed, object Complete, object Failed, object Step) |
To send query data. The pPostData parameter is to query data. It can be String object, XMLDOMDocument object and other objects. pSucceed, pComplete, pFailed, and pStep belong to Function object, which can be called respectively while the query is succeeded, completed, failed, and changed. |
© 2017 Supergeo Technologies Inc.