title: Converting JavaScript 'this' to jQuery '$(this)'
body: <p>Please have a look at the following code:</p>
  
  <pre><code>&lt;HTML&gt;
      &lt;HEAD&gt;
          &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
          &lt;SCRIPT type="text/javascript"&gt;
              function test(target) {     alert(target.nodeName); }
          &lt;/SCRIPT&gt;
      &lt;/HEAD&gt;
  
      &lt;BODY&gt;
          &lt;DIV&gt;
              &lt;ul&gt;
                  &lt;li onclick="test(this)"&gt;This is fair&lt;/li&gt;
                  &lt;li onclick="test(this)"&gt;No its not&lt;/li&gt;
                  &lt;li onclick="test(this)"&gt;Why not&lt;/li&gt;
                  &lt;li onclick="test(this)"&gt;Becoz...&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/DIV&gt;
      &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>The function test receives target (li node) as an argument.</p>
  
  <p>Now, can I somehow convert this variable to jQuery <code>$(this)</code> or <code>$(e.target)</code> or any other jQuery variable to so that I could traverse the document using the jQuery way?</p>