Re: Array Question

2004-05-27 Thread Omkar Prabhu
Hi all Try this out whether this help @CityA=(Suburb1, Suburb2, Suburb3); @CityB=Suburb1, Suburb4, Suburb5; $Var=CityB; $NewVar=$$Var[0]; print VALUE is $NewVar \n; - Original Message - From: Wiggins d'Anconia [EMAIL PROTECTED] To: Luinrandir Hernsen [EMAIL PROTECTED] Cc: [EMAIL

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] http://learn.perl.org/ http://learn.perl.org/first-response

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

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 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

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: