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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only