Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-06-2006, 12:31 PM   PM User | #1
BarrMan
Senior Coder

 
BarrMan's Avatar
 
Join Date: Feb 2005
Location: Israel.
Posts: 1,644
Thanks: 69
Thanked 83 Times in 82 Posts
BarrMan is on a distinguished road
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!
BarrMan is offline   Reply With Quote
Old 09-06-2006, 01:11 PM   PM User | #2
dungsport
New Coder

 
Join Date: Sep 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
dungsport is an unknown quantity at this point
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
dungsport is offline   Reply With Quote
Old 09-06-2006, 01:54 PM   PM User | #3
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
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.
Mr J is offline   Reply With Quote
Old 09-06-2006, 06:31 PM   PM User | #4
BarrMan
Senior Coder

 
BarrMan's Avatar
 
Join Date: Feb 2005
Location: Israel.
Posts: 1,644
Thanks: 69
Thanked 83 Times in 82 Posts
BarrMan is on a distinguished road
Thanks alot dungsport!!! You're the best!
Mr J: Thanks alot too!
BarrMan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:35 AM.


Advertisement
Log in to turn off these ads.