javascript onload event not executed if BACK is pressed
I have a onLoad event execution in my page. This page has several links.
Example onLoad event alerts the current time. When First time open the page current time is alerted. If I refresh the page then again current time alerted.
Now I clicked some link then click 'Back' button to come back to my main page. This time current time is NOT alerted. This works in IE but not in FireFox. Back button or coming back to page thru history is not executing the javascript in onLoad. Is there any way to re-call onLoad event in Browsers other than IE.
|
Hi,
Here is a solution for onLoad event executed when back button is pressed.Click here