Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTML/VBSCRIPT/ASP focus setting problem between frames.
Message
From
11/04/2001 05:53:45
 
 
To
10/04/2001 17:54:32
General information
Forum:
Internet
Category:
DHTML
Miscellaneous
Thread ID:
00493817
Message ID:
00494339
Views:
28
Alee,

A solution to change the focus may be something like this:
' script in the Body document
' ^^^^^^^^^^^^^^^^^^^^^^^^^^^
' add new variable to make the textbox reference visible outside of the Body document function
Dim textBoxToReceiveFocus
Set textBoxToReceiveFocus = Nothing
...
...
' here is your function in the Body document
Function ...
    ...
    ...
    Set textBoxToReceiveFocus = <I>referenceToTextbox1</I>
    window.setTimeout "textBoxToReceiveFocus.focus()", 100
    ' instead of just <I>referenceToTextbox1</I>.focus()
End Function
Hope this helps.
Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform