Just to be sure, terminate your callback function with a return false
.
That should do the trick.
function(e) {
e.preventDefault();
// some awesome code
return false;
}
Oh, and another thing: in the future, to avoid such random behavior.. respect the standards, use a form
:)