Java Script

I'm new to Java script, so maybe I'm not understanding this correctly. How do you link a multiple action script in Java to a single button? For example, I want to 'Restart Quiz' at the end of a test, but I'd like there to be a pop up that says Are you sure? Yes / No. Yes will restart and No will drop back to the results page.

How do I accomplish this with Java?

2 Replies