-
what the heck is the proper syntax for writing a lost focus routine in either vbScript or ASP? I know VB but am new to both vbScript and ASP. I noticed that what is Text1_GotFocus in VB is Text1_OnFocus in vbScript. What is the vbScript equivalent of Text1_LostFocus?
-
Found my own answer. The equivalent of Text1_LostFocus in vbScript is Text1_OnBlur(). Damn I'm good!
-
onblur()
example
<HTML>
<SCRIPT LANGUAGE=VBSCRIPT>
sub txtsam_onblur()
msgbox "just testing"
end sub
</SCRIPT>
<FORM NAME="frmsam">
<Input type=text name="txtsam" value="testing">
<Input type=text name="txtsam1" value="testing1" >
</FORM>
</HTML>