title: jQuery: How to hide and show the href?
body: <p>Is it possible to hide the <code>href</code> without hiding the whole anchor tag?</p>
  
  <pre><code>&lt;a href="somelinks"&gt;Click Me&lt;/a&gt;
  </code></pre>
  
  <p>The reason I need this is because I'd need to hide and show it based on desktop and mobile view controlled by JS.</p>
  
  <p>Something like <code>$('a').attr('href').hide();</code> won't work</p>
  
  <p><strong>Edit</strong>:
  I need to 'hide' the href so I can 'show' it where I need to. Removing the <code>href</code> will not restore it.</p>