onbeforeunload event triggered unnecesarily when writing into div with .innerHTML
Posted on 2008-06-09
I tried using a guard boolean variable, it didn't work. I tried resetting the onbeforeunload with null and then reassigning, it didn't work (when i say it didn't work it means that the same onbeforeunload event is still triggered when it shouldn't.
Any help in solving this or finding a workaround would ne excellent.