Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML/VBSCRIPT/ASP focus setting problem between frames.
Message
De
11/04/2001 05:53:45
 
 
À
10/04/2001 17:54:32
Information générale
Forum:
Internet
Catégorie:
DHTML
Divers
Thread ID:
00493817
Message ID:
00494339
Vues:
29
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform