Results 1 to 2 of 2

Thread: problem in passing variables

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2004
    Posts
    681

    problem in passing variables

    Hi,
    i have a opened a pop up window using window.open().how can i send the parameters back to main window from pop up?cause i am not even able to access session varaibles in popup.how can i pass the variables back to main window?

    Regards
    Vivek.s
    Last edited by vivek.shankar; Feb 18th, 2005 at 11:06 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: problem in passing variables

    The parent object is opener. You can have an element in the opener window's javascript which you set from the popup window.

    Code:
    window.opener.document.textboxname.value = 'dfkj';

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width