Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

onunload and onbeforeunload

 
Mark Butcher
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
window.onload is recognised by the opera browser but onunload and onbeforeunload are not.
The javascript function is called on onload but not on onunload and onbeforeunload.

All other browsers are fine with this but except opera.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post an SSCCE (Short Self-Contained Correct Example) demonstrating the issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic