Show tooltip only on a specific css class with jquery
$(document).ready(function() {
$("[title]:not(.ItemImage)").removeAttr('title');
});
This removes the tooltip开发者_高级运维 of anything else but it not remove the default tooltip from my specific class (.ItemImage).
You can custom Class right.
difine two set of class..so that you can disable the set
are you mean this ?
$('a.have_tt').attr('title',$(this).data('title'));
精彩评论