Unable to stop href link using preventDefault
Hello,
I have href's in a list menu that have valid links in them.
But I cant stop the href when it gets clicked.
Im wanting to edit certain fields first to see if they are not blank, but I cant get the href from sending me to the link.
I am rebuilding the links if the user selects options from a dropdown.
$("#cssmenu a").on("click", function(e) {
e.preventDefault();
e.stopPropagation();
...
...
...
If everything passes Im then sending me to the link using location.href