Click to See Complete Forum and Search --> : vbscript lost focus routine
DrewDog_21
Mar 19th, 2001, 10:11 AM
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?
DrewDog_21
Mar 19th, 2001, 10:35 AM
Found my own answer. The equivalent of Text1_LostFocus in vbScript is Text1_OnBlur(). Damn I'm good!
ranjith
Mar 19th, 2001, 10:42 AM
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>
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.