disable anchor tag jquery after click

Solutions on MaxInterview for disable anchor tag jquery after click by the best coders in the world

showing results for - "disable anchor tag jquery after click"
Ruben
18 Mar 2018
1$('.btn').on('click', function(e) {
2    e.preventDefault();
3    $(this).off("click").attr('href', "javascript: void(0);");
4   //add .off() if you don't want to trigger any event associated with this link
5});
queries leading to this page
jquery prevent double clickjquery disable anchor click eventhow to disabled anchor tag in jqueryjavascript disable link after clickdisable all anchor tag jquerydisabled a anchor in jqueryanchor tag disable using jquerydisable link after click jqueryjquery to disable a anchor tagdisable all anchor tag using jquerydisable anchor tag jqueryhow to prevent anchor tag in jqueryjquery disable link clickanchor tag click disable jqueryhow to disable anchor tag button after click in jqueryafter disable the anchor on click event jquery enable hrefjquery disable link on clickhow to disable click on href by jqueryinactive anchor tag in jqueryjquery disable tag 1 on clickdisable anchor tag function jquerydisable anchor tag click jqueryafter disable the anchor on click event jquery reenable hrefjquery disable anchor onclickdisable href when handle click events jquerydisable click on div css jquerydisable link click jqueryhow to disable anchor tags button in jquery but still clickhow to disable onclick event of anchor tag in jqueryjquery disable link after clicktrigger anchor click jqueryhow to disable a anchor tag in jqueryhow to disable click event on anchor link jqueryhow to disable anchor tag in jquery runtimehow to disable anchor tag button in jqueryjquery disable anchordisable anchor tag in jqueryhow to disable anchor button in jqueryhow to disable anchor tag in jqueryjquery anchor disablehow to disable anchor tag click event in jquerylink click disable jquerydisabled anchor tag jqueryjquery disable click of a linkdisable link click by jqueryanchor tag disable jqueryhow to disable anchor onclick using jquerydisabled jquery anchorjquery click disable hrefjquery enable disable link clickdisable click anchor tag jqueryhow to disable click on anchor tag in jquerydisable click on anchor tag jqueryhow to disable and enable anchor tag in jquerymake anchor tag disabled jqueryanchor tag enable disable event jquerydisable click a tag jqueryhow to disable anchor button in jquery but still clickdisable anchor tag using jqueryanchor tag disabled jqueryanchor element disabled in jqueryhow to disable an anchor tag in jqueryhow to make anchor tag disabled in jquerydisable anchor jqueryjquery disable click on a hrefdisable a anchor tag using jqueryjquery disable click hrefdisable click of anchor tag jqueryhow to disable anchor tag inside div using jquerydisable anchor tag jquery like buttonjquery disable clicking on linkdisable link on click jquerydisable anchor element with jquerydisable anchor link jqueryanchor disabled jqueryenable disable click on anchor tag jqueryjquery disable anchor tagdisable anchor tag jquery after click