title: Pass $this to function
body: <p>How can I pass the $this (the self keyword) to a function in Jquery</p>
  
  <pre><code>$(document).ready(function() {
  
      $('.nav a').click(function() {
          var direction = $(this).attr("name");
          submit_form($(this))
      }); 
  
      function submit_form(this)
      {
          // do some stuff with 'this'
      }       
  });
  </code></pre>