You haven't posted any code, but this is probably because you have triggered the Ajax request on a button submit but haven't prevented the default action.