Why my script not working? please help me!!!
weity 2000-04-21 09:50:00 my script not working!
<center>
<h1>Test P72 of VbScript</h1>
<hr color="#FF00CC">
<input type="submit" name="btn1" value="text 1" >
<input type="button" name="btn2" value="text 2">
<input type="button" name="btn3" value="text 3">
<br><br>
<input type="text" name="txt1" value="this is text1">
<input type="text" name="txt2" value="this is text2">
<input type="text" name="txt3" value="this is text3">
<script language="vbs">
<!--
sub btn1_onclick
txt1.focus 'Please notice this !!!
'msgbox txt1.value & " have get focus!",0,"what are you?"
end sub
sub btn1_onclick
txt2.select
end sub
sub btn1_onclick
txt3.blur
end sub
sub txt1_onfocus
msgbox txt1.value & " have get focus!" & "What are you?",0,"how did you do?"
end sub
//-->
</script>
</center>
why ????