title: jQuery how to remove id tag from anchor
body: <p>Hello I am new with jQuery and learning so I need your help to fix my issue.</p>
  
  <p>I am using jQuery ajax and I want to remove id attribute from anchor link after ajax success.</p>
  
  <p>For example I have this link:</p>
  
  <pre><code>&lt;a id="like_14" href="javascript:void(0);"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>And want this</p>
  
  <pre><code>&lt;a href="javascript:void(0);"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>Note: I don't want to use <code>id="like_14"</code> after ajax success. completely removed from anchor link.</p>
  
  <p>My Ajax Code Is:</p>
  
  <pre><code>$(function () {
          $('.load_more_ctnt .ovrly a').live("click", function () {
              var getImageID = $(this).attr("id");
              if (getImageID) {
                  $.ajax({
                      type: "POST",
                      url: "&lt;?php echo URL; ?&gt;home/passImageID",
                      data: "getImageID=" + getImageID,
                      success: function (html) {
                          alert(getImageID);
                      }
                  });
              } else {
                   //$(".more_tab").html('The End');
              }
              return false;
          });
      });
  </code></pre>
  
  <p>I am getting ID from this variable: <code>var getImageID = $(this).attr("id");</code></p>
  
  <p>Any Idea?</p>
  
  <p>Thanks.</p>