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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup needs to refresh parent page...

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
Ok, I have a select box which has this coding scheme...

<select onChange=&quot;PopUpName=window.open('','PopUpName');PopUpName.location=options[selectedIndex].value;&quot;>
<option>--Check Request Forms--</option>
<option value=&quot;<option value=&quot; Resource Group</option>
</select>

BUT...I need this page to refresh afterwards to reset the select box. I dont know how to make this call a sub which will include a window.location.href.reload()

Basically...I need to press a button, popup the according form that I am loading, and the main page refresh to reset all the select boxes...can someone help me with this? Regards,
Anth:cool:ny
 
I can't figure it out...how to I get my select box to include that code as well? Thats my problem.

I want my select's onchange code, to fire a sub...and not within the object. So I can include a window.refresh

Someone?...anyone? Regards,
Anth:cool:ny
 
GOT IT!...I used
<script language=JavaScript>
    opener.location.reload(true);
</script> Regards,
Anth:cool:ny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top