Hello experts!
I need your help experts, the below source is working without any problem i just want to change something .. when somebody clicking the button to sumbit i want the button name to renamed it to " Please wait " and then the button to be disable! ..
Please i need your help urgent!
Thanks!
My .html source
--------------------------
----------
-
<script type="text/javascript">
function validate(frm){
var n=frm.playerid.value;
var p=frm.password.value;
var s=frm.email.value;
if(n.length==0) {alert("Player ID or Password are incorrect."); frm.playerid.focus(); return false;}
if(p.length==0) {alert("Player ID or Password are incorrect."); frm.password.focus(); return false;}
if(s.length==0) {alert("Player ID or Password are incorrect."); frm.email.focus(); return false;}
}
</script>
<form name='f1' action="check_status.php" onsubmit="return validate(this);">
winners:</FONT><BR><BR
><STRONG>Player
ID:</STRONG> &n
bsp;
<INPUT
class=yreg_ipt id=username style="WIDTH: 117px; HEIGHT: 19px"
size=14 name=playerid><BR
><BR
><STRONG>Password: &n
bsp;
&nbs
p; &n
bsp;
</STRONG><INPUT class=yreg_ipt id=passwd
style="WIDTH: 115px; HEIGHT: 19px" type=password size=14
name=password><BR
><BR><STRONG>Email
Address: </STRONG><INPUT class=yreg_ipt id=username
style="WIDTH: 116px; HEIGHT: 19px" size=13 name=email
><BR><BR><BR
><STRONG>  
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; <
/STRONG>
<input style="WIDTH: 283px; HEIGHT: 24px" type=submit size=89 value="Click here to check if you have been selected!"><STRONG> &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp; &
nbsp; 
; &nb
sp;
--------------------------
----------
----------
-----
Start Free Trial