title: Event argument for click function [JQuery]
body: <p>I don't know right way to pass event argument for click function.</p>
  
  <p>So I can't pass that course: </p>
  
  <blockquote>
    <p><a href="http://www.codecademy.com/courses/you-and-jquery/0?curriculum_id=4fc3018f74258b0003001f0f#!/exercises/4" rel="nofollow">http://www.codecademy.com/courses/you-and-jquery/0?curriculum_id=4fc3018f74258b0003001f0f#!/exercises/4</a></p>
  </blockquote>
  
  <p>Who can help me?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>My answer is like below, but it still doesn't right.</p>
  
  <pre><code>function addBarClickEvent($bar,value) {
      $bar.click(
          function(e) {
              alert(value);
          }
      );
  }
  </code></pre>