Question
How to prevent double click?
How du I prevent a user to dubbleclick on a link and then
submitting the page twice?
I'm using the code below:
function UpdateApplication(inc){
document.DataForm.Inc.value=inc;
document.DataForm.submit();
}
……
<a href="Javascript: UpdateApplication(1);" target="_self" onMouseOver="self.status='Update Application'; return true;" onMouseOut="self.status=''; return true;">
<img src="/layout/buttons/Save.gif" alt="Update Application" border="0">
</a>
Any ideas?
I'm using the code below:
function UpdateApplication(inc){
document.DataForm.Inc.value=inc;
document.DataForm.submit();
}
……
<a href="Javascript: UpdateApplication(1);" target="_self" onMouseOver="self.status='Update Application'; return true;" onMouseOut="self.status=''; return true;">
<img src="/layout/buttons/Save.gif" alt="Update Application" border="0">
</a>
Any ideas?
