Hi!
I´m a newbie to JavaScript programming, and I wonder how to create a function to let a user remove all title attributes of my page´s links. By implementing this funtion I let my users have the opportunity to disable tooltips, which I provide thorugh the title attribute.
I have tried this, but without success:
document.getElementsByTagName("a").removeAttribute("title");
I´m a newbie to JavaScript programming, and I wonder how to create a function to let a user remove all title attributes of my page´s links. By implementing this funtion I let my users have the opportunity to disable tooltips, which I provide thorugh the title attribute.
I have tried this, but without success:
document.getElementsByTagName("a").removeAttribute("title");