Yes/No box in Javascript like this one here in StackOverflow?
<p>I want to know how can I display a confirmation box when the users try to get out of the page, like this one here in StackOverflow when you try to close the "Ask Question" page.</p>

<p>Thanks you in advance.</p>
