It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming JavaScript Forum

Need Help with winodw.open

Need Help with winodw.open

Postby spacetoon on Sun Aug 09, 2009 7:59 am

hi
i'm having this problem with javascript & i wish any of you would help. i'm having that webpage "Default.aspx" in which i'm calling up another form using:
Var searchWindow = window.open("Search.aspx","status=no,toolbar=no,location=no');

then i'm changing the default URL of the default page from the new child window (the "search.aspx" page) using :
window.opener.location.replace("default.aspx?po0=" + po0 + "&pr0=" + pr0 + "&po1=" + po1 + "&pr1=" + pr1 + "&po2=" + po2 + "&pr2=" + pr2 + "&Search=" + searchTxt.value);

now i want to access the child page (the "search.aspx") from the main form (the "Default.aspx") but since the "Default.aspx" location has changed, then i can't access the "search.aspx" using :
window.opener.searchWindow

so is there any way to call that opened form from the new default page?

thanks
spacetoon
 
Posts: 1
Joined: Sun Aug 09, 2009 7:45 am

Return to JavaScript Forum

Who is online

Users browsing this forum: Google Adsense [Bot] and 8 guests