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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement