I have a simple confirm() when a user clicks a link or a button but regardless of whether they answer yes or cancel, it seems to cancel the entire navigation.
when I remove the confirm() code the navigation happens fine.
is there anyway around this? I need to confirm with the user whenever they click on any element on the page but when the confirm comes up for link or button it seems to cancel the navigation from happening.