title: Pass ID of an element to jquery function
body: <p>I want to fetch the id of an element and pass it in jquery function - </p>
  
  <pre><code>              $('#fetchedID').fadeOut;
  </code></pre>
  
  <p>Till now I have tried -</p>
  
  <pre><code>1.  $("#$('.delete_status').attr('id')").fadeOut(400);
  
  2.  var e = $('.delete_status').attr('id');
                   $(e).fadeOut(400);
  </code></pre>
  
  <p>I am sure I am stuck because of the wrong syntax of passing javascript variable in jQuery function. Please help.</p>