LeoLionHeart
Programmer
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.
The textbox on the main form is called txtSec.
Any ideas?
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?