|
Posted by Mitul on 09/20/06 12:05
M D wrote:
> I am developing some web application with smarty.
> However, for these parts i need to use ajax, i have to
> write javascript on the "*.tpl" file and call php script from
> there, get the data and put the data in the div innerHTML.
> There is another way to use the smarty with Ajax?
>
> MD
You are in right direction. It will works but keep on thing in mind
that what ever you will echo from callled PHP script will be return as
AJAX return value. You can then use that return value in innerHTML.
Regrds,
Mitul Patel
******** There is nothing like impossible coz IMPossible itself means I
M Possible. So Keep Try with smile :) **********
Navigation:
[Reply to this message]
|