Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Controlling the browser  RSS feed

 
P H Roberts
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a better way than onunload to control the user clicking away from the current page/form until the current page/form is completed. Is there a way to send a message to the server if the user navigates away from the current form, so that the app knows to abort/finish or save the current session.?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!