run javascript from parent window

H

helixpoint

I get object does not support this property


function openNewWindow()
{
var new_window;
new_window=window.open('topicBuilder.aspx?
formname=aspnetForm.ctl00_contentArea_ArticleHeaderImage&HiddenFileFolder=articlePath&elenum1=1&elenum2=2&ID=1','name','width=800,
height=600,status=yes')
new_window.focus();

new_window.window.document.addOptionToOpener1("topicsAssigned","test",
"1")
for (var i=0; i <
window.document.aspnetForm.ctl00_contentArea_ListBox1.length; i++) {

new_window.document.addOptionToOpener1("topicsAssigned","test", "1")
}
}
 
G

g4toloc0

I get object does not support this property

mmm.. (without taking a look at your code..) i think this is an IE
error... have you tried to run this code on Firefox?
I think you will have a more descriptive error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top