JSFiddle - React, Tailwind, and code Playground
HTML
<a href="http://forum.htmlbook.ru/index.php?showtopic=42607" title="Такие дела"><span title=" "></span>Я ссылка, обычная ссылка</a>
<button>Title</button>
CSS
.notitle {
position: relative;
}
.notitle > span {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(255,255,255,.01);
}
a + button::before {
content: 'Убрать ';
}
.notitle + button::before {
content: 'Включить ';
}
JavaScript
if(/msie/i.test(navigator.userAgent)) {
$('a > span').attr('title',''); // В IE работает title="", в др. — title=" " :(
}
$('button').click(function(){
$(this).prev().toggleClass('notitle');
})