Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 open web pages

Status
Not open for further replies.

LeoLionHeart

Programmer
Joined
Apr 4, 2006
Messages
45
Location
GB
Hi,

I have two web pages 1 web page is the master and the second is a small window that pops up. On my small window I have a hidden input box which is the result of the selected index from a list box.

What I have on my main page is a text box which I want to be populated from the hidden input box via Javascript.

Code:
		function Display_Sec()
		{

			var name=document.Form1.savelistIndex.value;
			alert(name);
			document.parentWindow.item("txtSec")= name;

			window.close();
		}

The textbox on the main form is called txtSec.

Any ideas?
 
I'd suggest asking in the JavaScript forum as you'll get a more suitable response.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top