Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access functionj from new window

Status
Not open for further replies.

gary1975

Programmer
Oct 12, 2004
8
GB
Hi

I am trying to access a function from a window I open, The code is below.

var thewin = window.open('../index.asp', "oldwin");
thewin.thetest();

But I can't seem to get it to access the function thetest()

Any Ideas?

Thanks

Gary
 
Hi

Yes the function is in the popup window

Thanks
Gary
 
Hi

No it hasn't, that might be the problem then. The error I get is 'Object doesn't support this property or method'

Thanks again

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top