Hi Naji, You can try using a JavaScript function in your from something like
<html>
<head>
<script language="JavaScript">
var submitme = 1;
function submitform(formobj){
alert(formobj);
if (submitme){ submitme = 0;
formobj.submit();
}
return 0;
}
</script>
</head>
<body>
<!--some stuff here -->
<form name="form1" action="cgi" method="POST">
<!--some stuff here too-->
<a href="#" onClick="submitform(document.form1)">ppp</a>
<br>
<input type="button" value="press me" onClick="submitform(document.form1)">
<input type="submit" value="submit me"><!-- you do not want to use this one though :) -->
</form> </body> Naji, Khalid wrote:
Hi, there are users who click twice on a control button, how could i prohibit the double clicks on a button?
Thank you in Advance KN
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>