View Full Version : Passing values from popup window to the mani page
12-30-2007, 12:37 PM
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 :)
12-31-2007, 07:21 AM
I'm not sure if this helps but somehow maybe you could get an idea from here
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);
<input type="button" onclick="disp_prompt()" value="Display a prompt box" />
12-31-2007, 08:08 AM
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 :)
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.