on click return confirm code example Example: javascript onclick alert are you sure <a href="#" onclick="return confirm('Continue?')">DISABLE</a>