CGI interview question

How would you handle AJAX components in web page