title: How to pass arguments into JQuery function?
body: <p>I want to pass a value to a Jquery function. 
  Below is the Javascript sample code. I want to convert this javascript function to a jquery function. How can I pass the state name into a jquery onclick function?</p>
  
  <pre><code>&lt;a onclick="showState('state_name')"&gt;ADD STATE &lt;/a&gt;
  
   function showState(state_name){
   openbox_state(state_name);
   }
  </code></pre>
  
  <p>please help me.</p>