Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

onunload and onbeforeunload  RSS feed

 
Mark Butcher
Ranch Hand
Posts: 46
  • 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
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post an SSCCE (Short Self-Contained Correct Example) demonstrating the issue.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!