Im a complete jQuery noob, so forgive me if this is a stupid question.
Will this code have a negative effect on my site? Im thinking SEO and so on.
$(function() {
$("[title]").removeAttr('title');
});
Im using it to prevent the tooltip from popping up when the mouse is hovered on an image.
I looked in here and found this code also:
$(this).data("title", $(this).attr("title")).removeAttr("title");
But I can’t get that to work.
Thanks in advance!
Nothing you do in jQuery will have an effect on SEO, as it happens client-side, search engines (Google, et al.) will never see changes made in Javascript.