title: JavaScript Function Arguments in jQuery. Does This Work?
body: <p><code>EDIT</code> Helping people understand the question better</p>
  
  <p>Can you call a argument and then use it in jQuery? I was thinking something like:</p>
  
  <pre><code>// Notice the "test" argument in the "foo" function
  function foo(test) {
    $("#randomDiv").click(function(){
      $(test).toggle();
    });
  }
  </code></pre>
  
  <p>Would something like this work?</p>