This is a silly simple question, but I kept looking at it all night and could not understand. I need to change the page to sucess, right now I can get it to work only with .load to load the div from the desired page. I want it to redirect to the entire page.
That's what i
success: function(data) {
if (data=="Error") {
$("#error").show();
$("#processing").hide();
} else {
$("#contain").load("finalPage.php #desiredDiv");
}
}
I just want him to go to this page and not load it. window.load does not work
source
share