Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML/VBSCRIPT/ASP focus setting problem between frames.
Message
De
10/04/2001 17:54:32
 
 
À
10/04/2001 13:37:02
Information générale
Forum:
Internet
Catégorie:
DHTML
Divers
Thread ID:
00493817
Message ID:
00494196
Vues:
26
Alex,

Thanks for responding. Here are some details on what I am doing. I have tried several combinations of using "window.event.cancelBubble = True" as well as "window.event.returnValue = False". Nothing seems to be working for me. I must be doing something wrong. First of all, I reference the frames using "window.parent.frames(0, 1, 2, etc..).{function}". I have a function in the body document (frame 1) which adds rows and at the end sets the focus (using control's focus method..for example textbox1.focus()) to the first cell in the newly added row. Since the row is added to the table in the same (frame 1) document, I am trying to leave the focus here, but as stated earlier, the problem is that the focus keeps shifting back to the footer (frame 2) document. Footer (frame 2) is where the button is located. I have a function here in footer (frame 2) which gets called by the onclick() event of the button. This function then calls the function in the body (frame 1) document. Now I have tried setting the "cancelBubble" both before and after the call to the function in body (frame 1) document.

I look forward to hearing from you. Thanks for your help.

Alee.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform