title: grails remote form, multiple submits, with javascript
body: <p>I have a situation where I have a form with multiple submit buttons and I want to update a remote frame. I've tried using a <code>g:formremote</code> with 2 <code>g:actionsubmit</code> buttons (which support javascript) but the multiple submit buttons have a glitch (described here: <a href="http://www.grails.org/Ajax" rel="nofollow noreferrer">http://www.grails.org/Ajax</a> under "Multiple buttons with formRemote").</p>
  
  <p>I took the workaround, using 2 <code>g:submittoremote</code> buttons, which work the way I expect, but doesn't accept the javascript parameters like <code>onClick</code> (the buttons in question are accept/reject and I want to put an AYS on the reject so it isn't used accidentally).</p>
  
  <p>Is there a way for javascript and multiple submit buttons in a remote form to exist peacefully?</p>
  
  <p>Thanks in advance for your help... </p>