I am trying to write a code that includes confirm message by using jquery.
İf ı click to Exit according to my below code occurs reload of my page.
<a href="Exit" onclick="return confirm('Are you sure you want to exit?')">Exit</a>
How can ı write above code without reload page with confirm message in Jquery ?
İf confirm ok = go to href (without reload) İf confirm cancel = cancel it,