This is an excellent article explaining what Ajax is and how to use from Perl perl.com: Using Ajax from Perl.