you should use event.preventDefault() as shown below.
$('#form').submit(function(event) {
$.get('/ajax/verify-email.php?email=' + $('#email').val(), function(d) {
if (d == '1') {
alert('Another user is using this email');
$('#email').focus();
event.preventDefault();
}
});
});