in reply to Re^4: Ajax in perl
in thread Ajax/perl/javascript in perl

Your Perl code cannot run. There are syntax errors in it (your HTML) and the Perl code has misspellings in it:

$re=$dbh->perpare( # should be prepare

Please fix all the errors in your Perl code first, and make sure that the Perl program works without needing Javascript. Then tackle the Javascript problem.