I have a PHP page with jQuery's $(document).ready()
which does some changes to the form on the page. This works fine. But if I come to this page and then went to another and then hit 'Back' from the browser and came back to this page, the $(document).ready()
function does not seem to run at all. This is happening on FF as well as Chrome.
Is there some way I can have document.ready
executed even if the user hit the browser's back button to come to my page?