Javascript onsubmit with form with multiple submits buttons
<p>I have a form with two submits buttons, one called 'display' and the other called 'disenrol'.  The display submit doesn't need confirmation whereas the other does.  Originally I was going to use</p>

<pre><code>onsubmit="return confirm('Are you sure you want to remove the modules?');"
</code></pre>

<p>But of course that won't work because it reacts to both of the submits.  Is there a way I can specify which submit it should worth with?  (I'm quite new to javascript so please be gentle with me)</p>

<p>Thanks</p>
