DynAjax Object Methods

The request is the only method you need to call when you use DynAjax.

It takes two parameters: one string containing the request attributes, and a js function to handle the response (optional)

request(attributestring, resultfunc)

The attributes string

Format of the attribute string: 'attribute1: value1; attribute2: value2; ...'

Resultfunc parameter

Optional. Can take a javascript function that will be called when the response is given. The response data will be available in its first argument. eg:

function myFunction(responsetext) {
request('respfile: response.jsp;', myFunction);