Re: Only one click please

2004-05-27 Thread Randal L. Schwartz
> "Khalid" == Khalid Naji <[EMAIL PROTECTED]> writes: Khalid> there are users who click twice on a control button, how could i prohibit Khalid> the double clicks on a button? If the answer is "JavaScript", you've lost. Here's a Perl-only solution:

Re: Only one click please

2004-05-27 Thread Stoian Iovchev
Hi Naji, You can try using a JavaScript function in your from something like
var submitme = 1;
function submitform(formobj){
alert(formobj);
if (submitme){ submitme = 0;
formobj.submit();
}
return 0;
}
ppp Naji, K

Re: Only one click please

2004-05-27 Thread Jan Eden
Hi, Naji, Khalid wrote on 27.05.2004: >Hi, there are users who click twice on a control button, how could i >prohibit the double clicks on a button? > Not exactly a CGI solution, but you could utilize the JavaScript ondblclick() event handler to return false in that case. HTH - Jan -- Either

Only one click please

2004-05-27 Thread Naji, Khalid
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]