<?php
require_once("xajax/xajax.inc.php");
$xajax = new xajax("xajaxfuncties.php");
$xajax->registerFunction("myFunction");

?>

<html>
<head>
	<title>test</title>
	<?php $xajax->printJavascript("xajax/"); ?>
</head>
<body>
	<div>
		<input type="text" name="veld" id="veld" onkeyup="xajax_myFunction(document.getElementById('veld').value);" />
		<input type="text" name="z" id="z" value="" size="20" /> 
	</div>
</body>
</html>