javascript onclick alert are you sure

HTML
<a href="#" onclick="return confirm('Continue?')">DISABLE</a>
Source

Also in HTML: