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