Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
The below code is working fine in IE8,IE9 but it is not working in IE11 as

function CloseWinAndSave(existingVendor) {
var parent = window.parent.document.body;
if (existingVendor=="True") {
parent.all["divDdl"].style.display = "block";
parent.all["divTxt"].style.display = "none";

}
else {
parent.all["divDdl"].style.display = "none";
parent.all["divTxt"].style.display = "block";

}
window.parent.closeDialog();
return false;
}

this code is in child window and here 'divDdl' tag is in parent windows so how can we achieve this please suggest.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900