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 4 of 4
  1. #1
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts

    Passing values to other pages.

    It's not that simple as it sounds... I know about forms...
    I want to send values to an input in another existing page.
    For example:
    I have a gallery, You can select which picture you want in this gallery and when you select it, it closes the currect page and sends the picture name to the other existing page i have on my browser.

    Another explanation:
    I click on gallery.asp from index.asp and from gallery.asp I select an image which i want this image to be sent to index.asp.

    Thanks for the helpers!

  • #2
    New Coder
    Join Date
    Sep 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    main.html
    PHP Code:
    <input type="text" id="output" value="old value" /><br>
    <
    input type="button" value="Open popup" onclick="window.open('pop.html','abc','resizeable=no,height=200,width=200');" /> 
    pop.html
    PHP Code:
    <input type="button" value="Fill in" onclick="opener.document.getElementById('output').value = 'new value';" /> 
    so happy, so cool

    http://coolersport.info

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    The information here might be of help to you as well

    http://www.huntingground.freeserve.c...ta/p_data1.htm
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.

  • #4
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    Thanks alot dungsport!!! You're the best!
    Mr J: Thanks alot too!


  •  

    Posting Permissions

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