title: jquery submit form from text link
body: <p>I'm trying to create a small form that submits a form and passes a value from a text link.. Here's what I've got so far..</p>
  
  <pre><code>&lt;form id="calendar" name="calendar" action="" method="post"&gt;
  &lt;a href="&lt;?php echo $next_month; ?&gt;" class="submitCal"&gt;&amp;raquo;&lt;/a&gt;
  &lt;/form&gt;
  
  &lt;script type="text/javascript"&gt;
  jQuery.noConflict();
  jQuery('.submitCal').click(function () {
    jQuery("#calendar").submit();  
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I'd like the href to become a form variable called "time", I'm just not sure if I'm heading in the right direction or not.. If someone could help, that'd be great :)</p>
  
  <p>Cheers</p>