hallo
ich hab ein Problem mit Xajax
hier erstmal die Fehlermeldung:
Warnung : require_once xajay_core) / xajax.inc.php [( function.require einmal ]: failed to open stream: No such file or directory in E: \ xampp \ htdocs \ test.php on line 3
Fatal error : require_once () [ function.require ]: Failed opening required 'xajay_core / xajax.inc.php' (include_path = 'PEAR. \ xampplite \ php \') in E: \ xampp \ htdocs \ test.php auf Linie 3
hier noch der Code:
<?php
require_once( "xajay_core/xajax.inc.php" );
$xajax = new xajax( );
$xajax -> registerFunction ("myFunction");
function myFunction ( $arg )
{
$newContent = "Value of $arg:" . $arg;
$objResponse = new xajaxResponse();
$objResponse -> assing ( "SomeElementId" , "innerHTML" , $newContent );
return $objResponse;
}
$xajax -> processRequest ();
$xajax -> printJavaskript();
?>
<div id="SomeElementId"></div><button onclick="xajax_myFunction('It worked!');"></pre>
Alles anzeigen
ich das erstmal alles so gemacht wie das auf <!-- m --><a class="postlink" href="http://xajax-project.org/en/docs-tutorials/learn-xajax-in-10-minutes/">http://xajax-project.org/en/docs-tutori ... 0-minutes/</a><!-- m --> standt
aber ich weis noch nicht ob ich das überhaupt richtig installiert ist?
danke schon mal im vorraus vorallem an Sarkkan und Sören.
mfg Truck007