Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing values from popup window to the mani page

    Hello, i've been searching the forum for my problem but I didnt find a complete sulotion.

    my problem is:

    Suppose that I have a main page with a link that opens a popup window which has a link with a parameter and I want to pass the parameter to a text input in the main page,

    how to do that?

    thank you very much

  • #2
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not sure if this helps but somehow maybe you could get an idea from here

    Code:
    <html>
    <head>
    <script type="text/javascript">
    function disp_prompt()
    {
    var name=prompt("Enter the value the value of the prompt that you want to pass:");
    if (name!=null && name!="")
      {
      prompt("It goes here:",name);
      }
    }
    </script>
    </head>
    <body>
    
    <input type="button" onclick="disp_prompt()" value="Display a prompt box" />
    
    </body>
    </html>
    Last edited by paulb88; 12-31-2007 at 07:42 AM.

  • #3
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you very much paulb88

    but what I mean that i want to pass a prameter between the data from a web page and another page which is already open

    suppose that im in a forum and i want to post new thread and i want to include some emotions which are in another page, so i click on a link which gives me a popup window with the emotions, whenever I click on any emotion it will be included in the area textbox at the other page of posting new thread.

    hope that it is clear.

    thank you again paulb88


  •  

    Posting Permissions

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