I want to "intercept" a delete button press
<p>I would like to "intercept" a delete button press - I believe this is possible with Javascript? I don't know the exact terminology.</p>

<p>Here's my code:</p>

<pre><code>&lt;button type="submit" name="del" value=' . stripslashes($cultrow["cult_id"]) . '&gt;Del&lt;/button&gt;&lt;/td&gt;
</code></pre>

<p>I would like to intercept any and all presses of this button with the name "del". The value will, as you can see, change.</p>

<p>How would I go about this? I want to throw up a dialogue asking the user for confirmation, which I believe can be done using the confirm() function.</p>

<p>Thank you for your assistance all!</p>
