Unable to display the block on the screen

I need to show the preloader block while the browser is switching between pages. On the ios event, a "warning" is passed and possibly show, but DOM manipulation doesn't seem to work.

// Bind a change handler to the window location.
$(window).bind('pagehide', function(){
  alert('pagehide fired');
  $(target).show();
});

      

+3


source to share





All Articles