Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(e) {
- debugger;
- if (window.history && window.history.pushState) {
- window.history.pushState('forward', null, './#forward');
- $(window).on('popstate', function() {
- alert('Back button was pressed--------');
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement