I have a image button thats acts as a form submit button:
<a href="#" onClick="submitComment('+[id]+'); return false;"><img class="submitcommentimg" id="submitcommentimg<?php echo $id; ?>" src="/images/check.png" alt="Comment!" border="0"></a>
What is the best way to 'disable' it to prevent accidental double clicking.