I am opening a modal popup window. Then I access a parent window textbox and other attributes using window.opener. It is working fine in firefox but not in IE8.
window.opener
As a cross-browser alternative, you can give a custom attribute to the new window while you are opening it:
var popup = window.open(...); popup.isPopup = true;
Then, in the referred page:
if (window.isPopup) { // Do something } else { // Not in a popup }