CGI Interview Question

How would you handle AJAX components in web page