[Solved] How can I remove the “title” attribute from all links within a div? [closed]


You could remove all titles by looping through all link elements and setting the title to an empty string:

function onLoad() {
  var div = document.getElementById('footer-float');
  var links = div.getElementsByTagName('a');
  for(var i = 0; i < links.length; i++) {
    links[i].title="";
  }      
}

1

solved How can I remove the “title” attribute from all links within a div? [closed]