CJAX

CJAX is an open source Ajax project designed to help websites or applications using Ajax. Although it is a PHP-JavaScript framework, it allows programmers to use PHP as main programming language without the need to write JavaScript.
CJAX is focused on the PHP programming language; allowing developer to extend CJAX functionality.

Example
Creating an Ajax call could not be easier.

//php code
/**

* Works with CJAX v 2.1.6beta+

*/

$CJAX = CJAX::getInstance();

$url = "http://cjax.net/demos/ajax/simple.html";

/**

* The element id for the ajax response

*/

$element = "log";

/**

* The archor (link) id where you will click on to send the request

*/

$start = "anchor";

$call = $CJAX->call($url,$element);

$CJAX->action($start,$call);

?>



'anchor' href'#'>Click here to start Ajax request





Resource
*See sample resource
 
< Prev   Next >