when a web app generate most markup by javascript ...
I have seen a web app that generate most of a page's markup by javascript+ jquery. The server only generate a web page with just 1 DIV . The rest are done with create on client side via javascript+jquery+AJAX .

What are the pros and cons of this javascript centric approach ?


when a web app generate most markup by javascript ...
===

I have seen a web app that generate most of a page's markup by javascript+ jquery. The server only generate a web page with just 1 DIV . The rest are done with create on client side via javascript+jquery+AJAX .

What are the pros and cons of this javascript centric approach ?

