• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown


Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have written a program in javascript for loading the applet, which communicates with the socket program. the applet has logon,logoff and query buttons. I was struck when i wanted to write code for browser backbutton which when pressed the applet should logout and corrosponding logout message should be sent to the server socket program
Is there anyone who can help us in handling browser backbutton event.
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know of a way to handle the back button specifically, but if you want to handle the generic event of the user leaving your page, you can override the stop() method of the applet. This method will be called whenever the user navigates away from the page that spawned the applet.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic