JS Newbie, how to approach this problem?

So you have a button and when a user clicks on it twice, you want to load a second page with a one second delay. Did I get that right?