Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Frontend: cpaint.capable

cpaint Method Summary

void set_debug()
void set_proxy_url()
void set_transfer_mode()
void set_async()
void set_response_type()
void set_persistent_connection()
void set_use_cpaint_api()
void call()

cpaint Property Summary

boolean capable

boolean capable

This property of the basic CPAINT class can be used to determine whether or not the browser is AJAX capable.



API Tags

» Access: public


Our definition of a browser being AJAX capable is one that can create the necessary object (either XMLHTTP in the case of IE & Opera on Windows or XMLHttpRequest on other browsers and platforms) to create a transparent connection to the backend.