
December 12th, 2004, 02:40 PM
|
|
|
|
Join Date: Apr 2007
Location: The Netherlands
Posts: 139
Time spent in forums: < 1 sec
Reputation Power: 2
|
|
|
Java
Hello all,
Could someone help me out with a litle java?
I try to disable a submit button after clicking,and then it has to say one moment!
But the form has to be send!
Kinda Flood system!
What i have is this:
php Code:
Original
- php Code |
|
|
|
<? If($_POST['button']){ } Else { ?> <form method="POST" name="formulier"> <input type=button name=button onclick="this.value='Moment..'" onclick="this.disabled=true"; document.forms.formulier.button.disabled='true'" value='fdddf'> </form> <?php } ?>
But you can still click on the button,it's disabled but it doesn't show!
I try to make it that way,that after you clicked the text on the button is tranceparancy and the button is disabled!
Anyone nows how to make this one work?
|