Menu
I want to load a page into a frame using javascript, and then run a function after that page has been loaded into the frame. I tried to do this with the following code:
[code]
window.frames[0].location.href=page;
window.frames[0].addEventListener(‘load’,myFunc,false);
However, the event fires immediately (I assume because the frame has already loaded the original page it was displaying). Is there any way to accomplish what I am trying to do? Any help/info would be appreciated.
Thanks,
-Eddy999999