I want to use javascript to open one text file in child window, and then read the content to the parent window. How to implement it?
The code like below, if the data.xml is not HTML page, how to get the content to the parent window through javascript?
function op() {
win = window.open("http://xxx.bb.com/data.xml", "win", "width=200,height=200")
}