There is a difference in onbeforeunload event across the version of Firefox browser. Normally we are using "alert" function to identify whether that particular function is calling or not. But in case of onbeforeunload event, alert will work upto firefox version 26.0. If the firefox version is greater than 26.0, alert funtion will not work. So if you want to use onbeforeunload event in firefox which is greater version of 26.0, then don't use alert function, just write your logic and test it.
No comments:
Post a Comment