jQuery Back Button Event

$(window).on('popstate', function(event) {
 alert("pop");
});
Eddy