Nothing to process';
$('#response').html(result);
$("#process").removeAttr('disabled');
}
} else {
$.ajax({
type: "POST",
url: "ajax/user.php",
data: str,
success: function (msg) {
if (jQuery.trim(msg) == 'OK') {
result = '
SuccessYou are now an account holder on each of the sites you chose.
Each account is separate but your profile information will be reflected accurately across all sites.';
result += '
Continue
';
$("#fullform").hide();
} else if (msg.indexOf('REDIRECT::') == 0) {
window.location = msg.split('::')[1];
$("#fullform").hide();
} else {
result = msg;
}
$('#response').html(result);
$("#process").removeAttr('disabled');
//$('#user_form').foggy(false);
$('.spinner').hide();
}
});
}
}
});
}
else {
alert('Please accept Terms of Service and Privacy Policy');
}
$(document).scrollTop($("#response").offset().top);
return false;
});
});
$('#dob').datepicker({
dateFormat: 'dd/mm/yy',
changeMonth: true,
changeYear: true,
yearRange: '1900:' + ((new Date).getFullYear() - 16),
defaultDate: '-16y'
});
if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
$("#addressinfo").hide();
$("#addressholder").hide();
$("#postholder").hide();
$("#phoneinof").hide();
$("#phoneholder").hide();
$("#isMobile").val(1);
}
// ]]>