If these frames are in the same domain, here is an example of how to call a function from one frame to another. Therefore, as soon as the AJAX request completes in the first frame, you can call the javascript function in the second frame, which will take care of updating the content. If frames are not in the same domain, this is not permitted for security reasons.
source
share