/    Sign up×
Community /Pin to ProfileBookmark

window.opener issue

Hey Experts,

i have the following problem with my javascript.
I open a popup besides my existing window where the user can choose a date from a calendar.
By clicking on a specific date the date will be written in a form in the other window (the opener).

When the user now moves in the popup window back and forth, like changing the month, the function:

window.opener.document

won`t work anymore, the opener value got lost or overwritten by the reloading popup window

any ideas how can i solve this problem or work around?

thanks!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@PadonakJul 01.2013 — show/hide a div instead of opening new window
×

Success!

Help @Redhat28 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.18,
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,
)...