to :ssm1226(雨中人*www.dncc.net*) 你的方法在我这里还是不行,看看是什么问题? to:woyingjie(woyingjie) 现在是问题是 赋值不成功 ,父窗口的文本框中没有值。
moveTo--------------------------------------------------------------------------------DescriptionMoves the screen position of the upper-left corner of the window to the specified x and y pixel position. Syntax object.moveTo(x, y)Parameter Description x (Long) Horizontal scroll offset, in pixels. y (Long) Vertical scroll offset, in pixels. Return ValueNo return value. Applies Towindow
window.self.close(); //子窗口关闭
------------------------------------------------
如果我没理解错的话,应该是这样。
window.top.opener.document.all.txt.value = arr; //把arr赋值到父窗口的文本中
window.top.close(); //子窗口关闭
to:woyingjie(woyingjie)
现在是问题是 赋值不成功 ,父窗口的文本框中没有值。
object.moveTo(x, y)Parameter Description
x (Long) Horizontal scroll offset, in pixels.
y (Long) Vertical scroll offset, in pixels. Return ValueNo return value. Applies Towindow