title: jQuery fadeIn delay fadeOut with immediately fadeOut on button
body: <p>I want to fadeIn object then delay and fadeOut object and on click on button immediately fadeOut object. FadeIn delay fadeOut working, but second button for immediately fadeOut no.</p>
  
  <p>Following code isn't working:</p>
  
  <pre><code>$('.btn1').click(function () {
      $('.obj1').fadeIn(100, function () {
          (this).delay(5000).fadeOut(100);
      });
  });
  
  $('.btn2').click(function () {
      $('.obj1').fadeOut(100);
  });
  </code></pre>
  
  <p>Thank you for your help.</p>