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

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -