title: How can I pass arguments in .click() function?
body: <p>I want to pass arguments to the <code>click()</code> handler function in the following case:</p>
  
  <pre><code>function edit_tab(val){
      var prev_tab = $("#current_tab").html();
      if (prev_tab == 1) {
          $('.edit-basic-info').click(a); // here I want to pass some argument "a".
      }
  }
  </code></pre>
  
  <p>How can I pass the argument a in the above code? The way I am trying to do is not working.</p>