I was wondering, how I can use JQuery, to execute a same code, when either a page is loaded ready, or a page is visible to user due to back button clicked?
$(document).ready(function(){ // Work only first time page loading. // How about when user click on back button and come to this HTML page? alert('You c this page, as it is either first time loading, or user click on back button'); });