jquery: hide title attribute but not remove it -
i have seen people solution on mouse over, grab value in title attribute, then, remove value. while on mouse out, we'll put on.
$(this).attr('title','');
or
$(this).removeattr('title');
i want know possible hide tooltip appearing removing title attribute?
thanks!
no can't, browser decide title attribute. can, however, save node later reference (and possibly restoring title):
$(this).data("title", $(this).attr("title")).removeattr("title");
Comments
Post a Comment