PHP2Go Javascript Framework

Class AjaxResponse

Object
   |
   +--AjaxResponse

class AjaxResponse

Defined in ajax.js


Field Summary
 Object headers
          Response headers
 Object json
          Response JSON object
 String responseText
          Response text
 Object responseXML
          Response XML
 Number status
          Response status
 String statusText
          Text response status
 Boolean success
          Indicates a successful response
 String transId
          Transaction ID
 Object xmlRoot
          XML root, when responseXML is available
 
Constructor Summary
AjaxResponse (<String> transId)
            This class is used to respond to an Ajax HTTP request.
 
Method Summary
 void run()
           Parses and executes command definitions returned in the response in JSON format

Field Detail

headers

Object headers

json

Object json

responseText

String responseText

responseXML

Object responseXML

status

Number status

statusText

String statusText

success

Boolean success

transId

String transId

xmlRoot

Object xmlRoot

Constructor Detail

AjaxResponse

AjaxResponse(<String> transId)

Method Detail

run

void run()

PHP2Go Javascript Framework

Copyright © 2002-2006 by Marcos Pont
Documentation generated by JSDoc on Sun Oct 7 19:52:10 2007