from a parent window im using this code to open a popup:
[CODE=javascript]OpenWin = dhtmlwindow.ope n("CarrListPopU p", "iframe", "CarrListPopUp. asp?origin=<%=r equest.serverva riables("URL")% >&carrname=" + escape(field) + "&sType=" + escape(cType) + "&new=1", '::: Carrier List :::', 'width=850px,he ight=400px,left =10px,top=30px, resize=0,scroll ing=1');[/CODE]
now i have a button on popup page to close popup:
[HTML]<input type=button name="y" value="No" style="width=50 " onClick="window .close()"/>[/HTML]
but i am not able to clse the pop up widow when i click that button.
[CODE=javascript]OpenWin = dhtmlwindow.ope n("CarrListPopU p", "iframe", "CarrListPopUp. asp?origin=<%=r equest.serverva riables("URL")% >&carrname=" + escape(field) + "&sType=" + escape(cType) + "&new=1", '::: Carrier List :::', 'width=850px,he ight=400px,left =10px,top=30px, resize=0,scroll ing=1');[/CODE]
now i have a button on popup page to close popup:
[HTML]<input type=button name="y" value="No" style="width=50 " onClick="window .close()"/>[/HTML]
but i am not able to clse the pop up widow when i click that button.
Comment