Menu
I have a frameset with 2 frames. From one frame I am changing the URL of the second frame and I want to know when the second frame has loaded. I have tried the following but it doesn’t work.
parent[“targetFrame”].onload = function()
{
alert(‘frame loaded’);
}
parent[“targetFrame”].location = “
Any ideas why it is not working?
The content of the targetFrame changes but the function never gets executed. I have tried various variations such as parent[“targetFrame”].document.onload
Thanks.