in reply to CGI::AJAX onclick

Where is the error coming from? From the browser (if you have firefox, check error console) or the server (check the html source)?