By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,256 Members | 1,700 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,256 IT Pros & Developers. It's quick & easy.

javascript window.opener problems

P: 1
Hi,
I am developing the common page to iterate the names. I am calling this page using in 3 different scenarios/ from 3 different pages. eg calling user.jsp(popup page) from page1.jsp,page2.jsp,page3.jsp. In (user.jsp) popup page I had written window.opener to send the names to text boxes of particular main pages.

How can I differentiate the following pages.

Expand|Select|Wrap|Line Numbers
  1.  window.opener.document.getElementById("workflow_activityForm").fkUserId.value = loginName;
It is displaying error window.opener is null

can i give formnames or not. But it is working for single form only..
please suggest me..
Apr 19 '11 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,390
the line you posted is in the popup window?

kind regards
Apr 26 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.