Nevermind! I just subscribed to the ‘beforeunload’ event and it runs the function to save when someone closes the page.
Thanks again!
Nevermind! I just subscribed to the ‘beforeunload’ event and it runs the function to save when someone closes the page.
Thanks again!