$(".navbar-header button.navbar-toggle").on("click" , function(event){ 
       event.preventDefault();
       alert("I am alert");
  });
In above code preventDefault() is not working properly. Is there any another way to prevent event click. I need to disable all js events on this click. Thanks.#preventDefault();
 
    