title: Passing a self object in jquery
body: <p>In the below code how to pass the div object inside validate function</p>
  
  <pre><code>  &lt;div&gt;&lt;input type="text"&gt;&lt;/input&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;nbsp;&lt;a href="#" onclick="validate("Hot to pass the div objevt here")"&lt;/input&gt; 
  
     &lt;script&gt;
      function validate()
      {
        .....
        .....
         Finally remove the div   
      }
  
       &lt;/script&gt;
  </code></pre>