title: jQuery how to remove href in content data
body: <p>I do export excel when user click on button export i get content html like this </p>
  
  <pre><code>&lt;div id="tabledata"&gt;
  &lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;a href="www.abc.com"&gt;abc&lt;/a&gt;&lt;/td&gt;
      &lt;td&gt;abc&lt;hr/&gt;012&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want remove <code>href</code> from this content and want replace tag <code>hr</code> to break line in excele. please help me.</p>
  
  <p>this is my script</p>
  
  <pre><code>var tabdata = $("#tabledata").html();//above html is "tabdata"
  var news = tabdata.find("a").removeAttr("href");
  $("#tableval").val(news);
  $("#sendtable").submit();
  </code></pre>