Is there something unique about Safari that would render the code below useless? While it works as expected in all the other browsers, it fails in Safari, insomuch that the attribute isn’t removed at all…
$('ul.nice-menu a').each(function() {
$(this).removeAttr('title');
});
There’s no need for an
eachloop. Try the following:I’m not sure that will fix it though.