Answers for "how to turn off auto refresh a href in javascript"

0

how to turn off auto refresh a href in javascript

$(document).ready(function(){
  $("a[href=#]").on("click", function(e){
    e.preventDefault();
  });//a[href=#] click
});//document ready

//prevent default to turn off auto refresh
Posted by: Guest on June-13-2021

Code answers related to "how to turn off auto refresh a href in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language