Kyle Kyle - 9 months ago 90
HTML Question

jQuery tooltip, hide after.. time

I'm using the Tooltips and I'd like it to disappear after 4 seconds.

Here's the code for it, can anyone help?

$("#search").tooltip({ offset: [45, 170], effect: 'slide' });

Thanks :)


Edit. Borrowed this from another Stack overflow question. It works here:

jQuery.fn.delay = function(time,func){
    return this.each(function(){

$('#search').delay(2000, function(){