Appending a string variable in jQuery
<p>I'm not sure if I have the syntax correct in the code below, I'm trying to append a var to a string parameter within the find function.  I'm trying to search for a unique id within each input element of a particular form.</p>

<pre><code> //Get value attribute from submit button
 var name = $('#myForm').find('input#submitThis').val();

    //Other code that manipulates the name variable

 //Submit button in hidden form
 $('.submitLink').click(function(){
  $('#myForm').find('input#'+name).click();
  return false;
 });
</code></pre>

<p>The element with a <code>submitLink</code> class is supposed to be tied to the submit button in the form.  I don't think I have the syntax correct though, when I go back and click the element that has the <code>submitLink</code> class, nothing happens.</p>
