Topic: How to pass data object in xajax function in templete
Hi,
Can anybody help me out how to pass run time data object through xajax function in templete(.tpl file in Smarty).
And how to get this object in php file ?
I'm trying like this in smarty .tpl file :
xajax_testobj({$test[0]})
and in php file :
$obj = new xajaxResponse();
$obj->addAlert(print_r($_REQUEST,true));
I'm getting the result "object resource #9" in javascript alert box.
Thank you,
Vasu.