I need to redirect to another page and when it's loaded I need to print an alert("HELLO");
I think something like this:
$.load(path, function() {
alert.log("HELLO");
});
I have just used window.location
but it is incorrect, because by changing my url I can't print the alert("HELLO")
;
Anyone can help me?