i need to disable the anchor tag below.. am using this coding :( but it doesn't help me
jquery:-
$("a.lookupclick").addClass("viewDisabled");
$(".DeleteRow").addClass("viewDisabled");
$(".viewDisabled").prop('disabled', true);
or
$(".lookupclick").attr("disabled","disabled");
it works sometimes ,but most of the times it didn't works.. Y? how to prevent to click th
HTML :-
<div class="panel1">
<a tabindex="1" disabled="" class="lookupclick" id="departmentpopup" href="#lookupform" >
<img class="ImgSearch1" alt="Search" src="/Images/.jpg">
</a>
</div>