Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 3rd, 2011  |  syntax: JavaScript  |  size: 0.27 KB  |  views: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $('#ajax-message').html('Deleted Forum: ' + data.title);
  2.                                                                
  3. if ($('#ajax-message').is(':hidden')) {
  4.         $('#ajax-message').slideDown('1000');
  5. }
  6.  
  7. var timerID;
  8.  
  9. clearTimeout(timerID);
  10. timerID = setTimeout(function(){
  11.         $('#ajax-message').slideUp('1000');
  12. },'10000');
clone this paste RAW Paste Data