HTML_Progress2_Ajax_Common | --HTML_Progress2_Ajax_StdDOMxml
Provide handler of standard DOM XML usage. Available on all browsers Ajax compliant.
Here is a basic example: <?php require_once 'HTML/Progress2.php'; $pb = new HTML_Progress2(); // try to register the standard DOM XML Ajax driver $ae = $pb->registerAjax(); if ($ae) { $ae->setRequestUri(); $ae->setRequestMethod('post'); $ae->setRequestTimeout(2500); $ae->setUrlArguments('startTask', 'targetId'); } ?>
<?php require_once 'HTML/Progress2.php'; $pb = new HTML_Progress2(); // try to register the standard DOM XML Ajax driver $ae = $pb->registerAjax(); if ($ae) { $ae->setRequestUri(); $ae->setRequestMethod('post'); $ae->setRequestTimeout(2500); $ae->setUrlArguments('startTask', 'targetId'); } ?>
HTML_Progress2_Ajax_StdDOMxml __construct( &$obj, object $obj)
Creates an Ajax progress-meter default driver
HTML_Progress2_Ajax_StdDOMxml HTML_Progress2_Ajax_StdDOMxml( &$obj, object $obj)
string getScript( [boolean $raw = true])
Ajax code to handle the progress meter polling sequence.