Hello and thanks for reading my question
I'm wondering if anyone knows how to combine these two on click events so that when a user clicks delete and message pops up i.e. are you sure you want to delete this entry and if they click OK then it runs the Javascript void() function?
OnClick="return confirm('Are you sure you want to delete this entry?');"
<td valign="middle">
<a href="javascript: void();" onClick="javascript: document.forms['DeletePrimary{$pic_index}Form'].submit(); return false;">$delete</a>
</td>