I have gone thought stackoverflow for a solution to my jQuery click function only firing once on the same page load and noticed that the solutions provided only apply to specific element referencing.
My jQuery listens for a tag request (<a href=...>
)
So does anyone know how to make my listener fire multiple times while listening to this type of tag?
Current Code
$("a").click(function() {
if($(this).attr('href') != '#' && $(this).attr('href') != '#myModal'){
displayLoader();
}
}