Kyle Kyle - 1 year ago 137
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 :)

Answer Source

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(){
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download