Subject | Re: [firebird-php] Duplicate numbers |
---|---|
Author | Milan Babuskov |
Post date | 2006-05-23T15:25:32Z |
Lester Caine wrote:
you don't want it to work.
BTW, I usually use <button> tag for such stuff:
<button accesskey="A" type=submit onClick=...><U>A</U>dd Ticket</button>
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
>><input type=submit value=Go onClick="return check();">AFAIK, you can use onClick with <A> as well. Just return false from handler it
>>
>><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>
>
>
> Except the problem is
>
> <a class="button" accesskey="A" href="ticketaddserve.php?enqno=0">Add
> Ticket</a>
you don't want it to work.
BTW, I usually use <button> tag for such stuff:
<button accesskey="A" type=submit onClick=...><U>A</U>dd Ticket</button>
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org