$('#lnkReInitiate').on('click', function () {
if ($("#lnkReInitiate").hasClass("disabled-link")) {
return false;
} else {
$("#lnkReInitiate").addClass("disabled-link");
}
});
.disabled-link{
cursor: default;
pointer-events: none;
text-decoration: none;
/*color: grey;*/
background: gray;
}
No comments:
Post a Comment