$(this) vs this in jQuery
<p>What is the difference between <code>$(this)</code> and <code>this</code> in jQuery ? Here are two different usage :</p>

<pre><code> $(document).ready(function() {
   $("#orderedlist").find("li").each(function(i) {
     $(this).append( " BAM! " + i );
   });
 });


 $(document).ready(function() {
   // use this to reset several forms at once
   $("#reset").click(function() {
     $("form").each(function() {
       this.reset();
     });
   });
 });
</code></pre>
