Im looking for a simple cross-browser plugin or method that can help me do this :
$('#clear_window').click(function(){ $('#window').fadeOut(50); var activeTab = $("ul.tabs li.active").find("a").attr("href"); $(activeTab).fadeIn(50); }); but on the click of the browsers back button not on the #clear_window click