|
-
Mar 19th, 2001, 11:11 AM
#1
Thread Starter
Hyperactive Member
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?
-
Mar 19th, 2001, 11:35 AM
#2
Thread Starter
Hyperactive Member
Found my own answer. The equivalent of Text1_LostFocus in vbScript is Text1_OnBlur(). Damn I'm good!
-
Mar 19th, 2001, 11:42 AM
#3
Lively Member
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>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|