Hi,
I am trying to fix permission denied error on a popup calendar in my page. Infact this functionality works with Netscap + PKI Certificate but
this functionality not works with IE + PKI certificate. Without PKI certificate it is works fine with IE. With PKI certificate when I click on calander image i get “Permission Denied” error but it display the calander after when I select the date it change the data in the data field but calander do not close and throw another error “top.newWin is null or not an object”.
following is the code of the popped up window :-
calDocFrameset =
“<HTML><HEAD><TITLE>JavaScript Calendar</TITLE></HEAD>n” +
“<FRAMESET ROWS=’70,*’ FRAMEBORDER=’0′>n” +
” <FRAME NAME=’topCalFrame’ SRC=’javascript:parent.opener.calDocTop’ SCROLLING=’no’>n” +
” <FRAME NAME=’bottomCalFrame’ SRC=’javascript:parent.opener.calDocBottom’ SCROLLING=’no’>n” +
“</FRAMESET>n”;
// DISPLAY THE CALENDAR IN A NEW POPUP WINDOW
top.newWin = window.open(“javascript:parent.opener.calDocFrameset”, “calWin”, winPrefs);
alert(top.newWin);
//top.newWin.focus();
where calDocTop and calDocBottom are functions to set up the frames for the calendar.
The following link call the calander’ popup window :-
<a onClick=”showCalendar(document.BAInfoForm.startDate)”> <img src=”#TAG_BASE_HREF#/images/calendar.gif” border=0 width=16></a>
Need some urgent help!!!! sorry for the wordy message.
-Calander