function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

calling script in parent page from the Child page

i'm using YAHOO.widget.Panel with iframe to show a popup window.

below is the script used to do the same. = function() {     


  document.getElementById("cmdframe").setAttribute("src", "");            document.getElementById("mycomment").style.display = "block";            document.getElementById("cmdframe").setAttribute("src", "");;       

 }      = function() {       

    document.getElementById("cmdframe").setAttribute("src", "");   ;   


Now how to close the iframe from the popup window?if i click a Save button in the popup window, it should do some action and the iframe should closed, without refreshing the parent window.
i want to call to close the panel which is in the parent window.



Or is there any way to close the i frame from the loaded child page without referishing the parent page.