API DOCS
File: xajaxResponse.inc.php
Contains the response class.
Title: xajax response class
Please see
and license information.
Classes
Class: xajaxResponse
Collect commands to be sent back to the browser in response to a xajax
request. Commands are encoded and packaged in a format that is acceptable
to the response handler from the javascript library running on the client
side.
Common commands include:
- <xajaxResponse->assign>: Assign a value to an elements property.
- <xajaxResponse->append>: Append a value on to an elements property.
- <xajaxResponse->script>: Execute a portion of javascript code.
- <xajaxResponse->call>: Execute an existing javascript function.
- <xajaxResponse->alert>: Display an alert dialog to the user.
Elements are identified by the value of the HTML id attribute. If you do
not see your updates occuring on the browser side, ensure that you are
using the correct id in your response.
