title: Pass value in joomla.submitbutton
body: <p>I have made a submit button using joomla's button like this:</p>
  
  <pre><code>&lt;button onclick="Joomla.submitbutton('autoresponder.transfer')"&gt;Edit&lt;/button&gt;
  </code></pre>
  
  <p>I want to pass an 'id' along to autoresponder's transfer function from here. How can i do that?
  I tried it using a hidden field like this:</p>
  
  <pre><code>&lt;input type="hidden" name="id" value="&lt;?php echo (int) $item['id']; ?&gt;"&gt;      
        &lt;button onclick="Joomla.submitbutton('autoresponder.transfer')"&gt;Edit&lt;/button&gt;
  </code></pre>
  
  <p>But it is not giving me value. Please help!!</p>