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?