+ 5

I just keep fumbling with js...

Once again asking for help figuring out why my JS won't work. Trying to have a confirm box pop up when the user leaves. Suggestions? https://code.sololearn.com/WNU99ShCSlNn/?ref=app

7th Jan 2018, 9:00 PM
Dutch
Dutch - avatar
2 Answers
+ 5
How do you know onunload event is not working on Code Playground?
7th Jan 2018, 9:17 PM
CalviŐČ
CalviŐČ - avatar
+ 2
@Calvin Is it not? I didn't know...
7th Jan 2018, 9:19 PM
Dutch
Dutch - avatar