Implemnting AJAX and NON AJAX in the same application

Hello All,

i am working on a project and we have a requirement that a user can
set his preferences to use AJAX based or a plain normal page

How can i achieve this

Thanks
Jagan