Limit Click On Href

[Total: 0    Average: 0/5]

This example limits the number of clicks on the href to 1 per reload.

Body Code:

<script>
var redoing=false;
</script>
<a href="javascript:if(!redoing)SubmitAction();redoing=true;void(0)"><img border="0" height="32"  name="btnApprove" id="btnApprove" src="/js/pic1.gif" width="105" alt="Approve"></a> 

Times Viewed: 4

Leave a Reply

Your email address will not be published. Required fields are marked *