title: How to delay .trigger('click') with overlay from jquery tools
body: <p>I am using Jquery tools, overlay effect and want to close it, if JSON response is OK, but i want to do it with a delay. </p>
  
  <pre><code>  $.ajax({
                  //bla bla
                  success: function(data){
                          var obj = jQuery.parseJSON(data);
                          if (obj.status=='OK')
                          {
                              $('#status').text('bla bla');
                              jQuery('.close').trigger('click');
                          }
                          else
                          {
                              $('#status').text('bla bla');                       
                          }
                      }
              }); 
  </code></pre>
  
  <p>so this - jQuery('.close').trigger('click'); must be executed after some time. Any ideas?</p>