Help with coding a pop up window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rockocubs

    Help with coding a pop up window

    I need some help on how to code a pop up window that would have one form
    with one field to return the value enterd back to the main script.

  • kaeli

    #2
    Re: Help with coding a pop up window

    In article <5f5b4ab28dc7b9 500b8f1904c5bfa 8c9
    @localhost.talk aboutprogrammin g.com>, rphipps@nospam. indy.rr.com enlightened
    us with...[color=blue]
    > I need some help on how to code a pop up window that would have one form
    > with one field to return the value enterd back to the main script.
    >
    >[/color]

    Why a popup? What's wrong with:

    var x = prompt("Enter a value!");

    Just curious.
    If that's not viable, I can show you code for the popup.

    Simple ex:
    opener.formname .fieldname.valu e = self.document.f ormname.fieldna me.value;

    --
    --
    ~kaeli~
    Profanity: the single language in which all programmers are
    expert.



    Comment

    • Lee

      #3
      Re: Help with coding a pop up window

      rockocubs said:[color=blue]
      >
      > I need some help on how to code a pop up window that would have one form
      >with one field to return the value enterd back to the main script.
      >[/color]

      var response=prompt ("What value?","");

      Comment

      • rockocubs

        #4
        Re: Help with coding a pop up window

        Thank you both, that should take care of what i needed it for.

        Comment

        Working...