Dear Sir,
Please look at my code.
In my requirement this is viewed only for Internet Explorer with Internet Explorer 6.0 and above.
Problem i am facing
------------------
But if i am closing the parent window then if the clild window is pdf file(link given for open the pdf file) it will not close automatically for
only IE6(Except IE6 all other version support it Internet exploer).It is
swowing "member not found error".i helped a lot in google to find out the
error and trying it.But i am unable to solve in IE6 case.
Could any body please rectify my code for in IR6 CASE if i close parent
window if clild window is pdf file it should automatically close without
"Member not found" jAVASCRIPT error.
Thanks in advance.
Regards
Sumanta Panda
function closeWin()
{
if(window.tradenpdfreq && window.tradenpdfreq .open && !window.tradenpdfreq .closed)
window.tradenpdfreq .close();
}
function showTradePDFWindow()
{
strURL = '<%=TradePDFPath%>';
tradenpdfreq = window.open(strURL,"tradenpdfreq","height=450, width=650,scrollbars=yes,top=0,left=0,status=yes");
tradenpdfreq .focus();
}
[ January 02, 2009: Message edited by: sumanta panda ]