I've got a page with a bunch of text boxes where users enter hours for each day. The text boxes have an event handler that runs to save the data when it is changed. Using jQuery change(). The problem is that when some users get to the last input they enter the data then close the page or navigate away. So it never loses focus and the change event handler isn't called. Is there a way, short of keyup/keydown, to catch that final change before the page unloads?
I know I could always switch it to a traditional form with a submit button, but they were hoping to avoid that.
Thanks in advance.