javascript window.opener problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srinivasan gopa
    New Member
    • Apr 2011
    • 1

    javascript window.opener problems

    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.

    Code:
     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..
    Last edited by gits; Apr 26 '11, 11:14 AM. Reason: added code tags
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    the line you posted is in the popup window?

    kind regards

    Comment

    Working...