Subject Re: [firebird-php] Duplicate numbers
Author Jochem Maas
Milan Babuskov wrote:
> Jochem Maas wrote:
>
>>ai, a submit handler - the first thing it does it disable to the submit button,
>>then is submits the form.
>
>
> I found that this doesn't work on some browsers (can't remember which one and
> which version), so I add an additional boolean flag to check:
>
> <input type=hidden name=clicked value=0>
>
> <input type=submit value=Go onClick="return check();">
>
> <script>
> function check()
> {
> if (document.form.clicked.value == 1)
> {
> alert('You already clicked. Please wait.');
> return false;
> }
> document.form.clicked.value = 1;
> return true;
> }
> </script>
>

interesting - will keep that in mind :-)

>
>>>>Customers are called to a counter or room by ticket number - need I say
>>>>more ;)
>>
>>well what happens if one runs out of rooms ;-)
>
>
> Buy a bigger building ;)

lateral thinking dude ;-)

>
>