I have a link that needs to not take action when I hit cancel. I've tried returning false from the click event, and using e.preventDefault, but I'm not sure if am doing it correctly.
I need the link to not take any action when I click cancel.
<a id="selectInterviewTimeLnk" asp-controller="Admin" asp-action="SelectInterviewTime" asp-route-userName="@Model.UserName">Select Interview Time</a>
$("#selectInterviewTimeLnk").click(function(e) {
  var confirm = confirmInterviewTime();
  if (confirm === false) {
    return false;
  }
})
 
    