[Templates] Appending HTML to a var ............
Josh Rosenbaum
josh at infogears.com
Fri Dec 7 19:26:44 GMT 2007
Anthony Gardner wrote:
> It just so happens, while cycling home in the wind and the rain, that I
> realised I was approaching it from the wrong direction. I should just be
> putting the data I need in one of two lists and once that's all done, I
> can just loop through those lists and filling in the HTML.
>
> But, it it possible to add/append raw html code to a var of some type
> for later use or is my method above The Way to do it?
>
> -Ants
Either way should work. Not sure why it didn't work for you before, but most likely there is a problem in your original code.
-- Josh
More information about the templates
mailing list