1. doing a submit when window is closed coderanch.comI am writing an app for multiple users and I need to lock/unlock records while users are updating information. My problem is with unlocking because a user can just close the browser and forget to unlock the record. I tried using the unload event as shown below but it doesn't work. . . . |