I have 3 frames in a html page. In one frame, i am sending ajax request. Now I want to update the data sent by server in other frame. Is it possible
If those frames are on the same domain here's an example how to call function from one frame to another. So once the AJAX request completes in the first frame you could call a javascript function on the second frame which will take care of updating the contents. If the frames are not on the same domain this is not permitted for security reasons.
Of course this is possible. From the iframe you can access the parent windows using the 'parent' object. so from the 'frame1' you can write parent.getElementById('frame2').contentDocument.getElementById('id of the control in frame2')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With