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