On Sun, Nov 22, 2009 at 7:40 PM, Dave <dave.mer...@gmail.com> wrote: > I want to disable the behavior of rolling over a link and having the > title content display. I realize that removeAttr will do it. But that > removes it form the DOM completely. And I will need it later. > > Is there a way to use disableDefault to just not display the tool tip > on roll over? I don't seem to be able to do it.
You could remove the title and store the value in data, then reset it on hover out: $('a').hover( function() { $(this).data('title', $(this).attr('title')) .attr('title', ''); }, function() { $(this).attr('title', $(this).data('title')); } ); > Lemme know. It's kind of assumed that the person posting a question is looking for a response ;-)