configure('javascript URI', '/'); function add2($number) { $objResponse = new xajaxResponse(); $objResponse->assign('domain_label', 'innerHTML', $number + 2); return $objResponse; } $req_get_domain =& $xajax->registerFunction('add2'); $req_get_domain->setParameter(0, XAJAX_INPUT_VALUE, 'domainname'); $xajax->processRequest(); ?> finger printJavascript(); ?> Domain: