scott
scott

Reputation: 21

how to access the dom of a popup in IE8

Once you open a window using window.open, how do you access the dom of the popup

Upvotes: 2

Views: 189

Answers (1)

Ramesh
Ramesh

Reputation: 13266

window.open returns you a window object. That window object's document property would return the DOM of the elements in the window.

var win = window.open("../test.html");
win.document.forms[0];

Upvotes: 3

Related Questions