I want to call PHP function from JavaScript and I searched.
on
http://satoewarna.com/jqsajax/ they described like below.
1. include JQUERY Library (1.2 or higher is recomended) in your page.
2. include jqSajax.class.php in your script
3. Cutomize your preference and your PHP method/function. The method/function may be in defferent file.
4. Export your php method/function
5. Print Javascript representation
6. Call it from javascript and get the result. You can customize the result.
From step 2 I did not understand, what is that 'require_once' function and what is 'jqSajax.class.php' ??? about that line I am not at all clear.
also please explain me what he is telling in other steps.
clear explanation to use this jqSajax would be great use...
Please help me.
[ October 12, 2008: Message edited by: Ja vardhan ]
[ October 12, 2008: Message edited by: Bear Bibeault ]