double event firing - ajax
Hi all,
I have the following basic ajax test. For some reason it is firing twice on a single click. The 'new-report-link' element is a simple href. When I click the link I see the GET request twice in Firebug and I see two requests in the server logs. The behavior is the same with IE7 & FF3.
Any idea why this is happening and how to fix it?
Thanks.
-
$(function(){
$('#new-report-link').click(function(){
$('#ajaxtest').load('/ajaxtest');
return false;
});
});