Code:
$(document).ready(function() {
var a=document.getElementsByTagName('a');
for(var i=0;i<a.length;i++)
if ((a[i].attributes['href'] && a[i].attributes['href'].value=='#') && (a[i].innerHTML=='Hyperlink'))
a[i].parentNode.removeChild(a[i]);
});
Leave a comment: