Open RitaPatil08 opened 3 years ago
Assuming you were trying to do something like,
Response.Write("<script language='javascript'>window.close();</script>");
don't use and instead use
window.close();
parent.document.getElementsByTagName('dialog')[0].close();
as stated at the bottom of the README
parent.document.getElementsByTagName('dialog')[0].close(); does not work for me.... I get: Cannot read properties of undefined (reading 'close')
when we add a cancel button no code is working to close the popup. please provide any solution on this.