/    Sign up×
Community /Pin to ProfileBookmark

Problems with a popup calendar

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)”>&nbsp;<img src=”#TAG_BASE_HREF#/images/calendar.gif” border=0 width=16></a>

Need some urgent help!!!! sorry for the wordy message.

-Calander

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ManjeetSep 27.2010 — i am facing the same problem .....

can some one give me the quick solution

Thanks

Manjeet

Edit by admin: no contact info permitted on the forum, thank you
Copy linkTweet thisAlerts:
@JPnycSep 27.2010 — This thread is over three years old.
×

Success!

Help @calander spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...