1. opener page

    var objectName = new Object();

    objectName.message = "";


    var style ="dialogWidth:520px;dialogHeight:250px;top=80,left=80;scroll=no";

    while( objectName.message != "Y" ) {

        window.showModalDialog("modalDialog.jsp", objectName, style);

    }


2. modal Dialog

    var opener = window.dialogArguments; 

    opener.message = "Y";

    self.close();      



+ Recent posts