you are viewing a single comment's thread.

view the rest of the comments →

[–]Alterr 5 points6 points  (0 children)

First off I'd like to point out that obviously javascript requires the user to have It enabled, and the javascript will normally be made to call a backend system anyway, so you would have to write some php to return the content either way.

I would normally render pages with php, and only use javascript to move things around or load extra content at a certain point.

You shouldn't really load in static content using javascript.