How to remove the anchor tag text and href link using javascript
Or Jquery
<a id="ancID" href="Javascript:void(0)">Here insert a dynamic text </a>
I want to remove the text inserted between anchor tag..
You can use .text('')
to remove text by assigning empty string. First use id selector to get the anchor tag.
$('#ancID').text('');
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments