Results 1 to 2 of 2

Thread: pass parameter to applet in another window

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    pass parameter to applet in another window

    Is it possible to load an applet in a new window, and pass it a (dynamic) parameter? I can do it using javascript if everything is in the same window, but I can't figure out if it is possible to pass parameters to a different window. I am trying to add some functionality to a pre-existing web site, and my only option (that I an think of) is to use javascript.

    -------------------
    suresh


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: pass parameter to applet in another window

    I did finally find a javascript method. In my new window, I use document.opener.my_element.my_value. That gets the element I need from the parent window. I've been trying to figure this out for two weeks, and it turned out to be a simple one-line piece of code.

    --------------------
    suresh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact