Class Index | File Index

Classes


Class khtml.maplib.util.Http


Defined in: Http.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
HTTP Ajax Helper.
Method Summary
Method Attributes Method Name and Description
 
get(url, data, successHandler, dataType)
Decorates {khtml.maplib.util.Http._get} with a method that writes a log entry if the request failes.
Class Detail
khtml.maplib.util.Http()
HTTP Ajax Helper.
Requires:
jQuery
Method Detail
get(url, data, successHandler, dataType)
Decorates {khtml.maplib.util.Http._get} with a method that writes a log entry if the request failes.
Parameters:
{String} url
A string containing the URL to which the request is sent.
{Object/String} data
An object or string that is sent to the server with the request.
{function} successHandler
successHandler(data, textStatus, jqXHR) - A callback function that is executed if the request succeeds.
{String} dataType
The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).
See:
_get
http://api.jquery.com/jQuery.get/

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 09 2011 20:46:57 GMT+0200 (MESZ)