Building html structure in php or javascript?
- by Adam
I've been doing a lot of ajax calls and using the returned data to build html with javascript. However, I've noticed some people are returning the constructed html in the ajax calls since they're doing it all in php.
What is the preferred method? I have a bunch of stuff already using javascript, so I guess I would prefer not changing everything to…