rendered paste body<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><?phprequire('xajax/xajax_core/xajax.inc.php' ); function test($values) { $response = new xajaxResponse(); $response->Alert($values['texto']); return $response;}$xajax = new xajax();$xajax->registerFunction('test');$xajax->processRequest();$xajax->printJavascript('xajax/');?> </head><body><form name="formfly" action="javascript:void(null);"><input type="texto" value="texto" name="texto"><input onClick="javascript: xajax_test(xajax.getFormValues('formfly'));" type="button" value=" Guardar " ></form></body></html>