I\'m having problems redirecting the user to a thank you page after a successful form completion. What happens is that after the form submits, it goes to a blank page (https
You should use
window.location.href = "http://www.google.com";
and not
location.window.href = "http://www.google.com";
http://www.w3schools.com/js/js_window_location.asp
The success should be a the functtion passed as an argument to $.ajaxForm:
$('#theForm').ajaxForm(function() {
window.location.href = "redirect user to the thank you page";
});