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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting value from child window to main window

Status
Not open for further replies.

priyankadeven

Programmer
Nov 19, 2002
6
0
0
US
I am using a child window that queries in to a database and gives me the id of the person. Once I get the id, I can make it a link... which should close this form and take that id and put it in the parent window's form.

Can someone tell me if this is possible? Please help
 
Are you using ASP to query the database? If so, you could use something like this:
<a href=&quot;javascript:eek:pener.document.formName.fieldName.value='<%=ID%>';window.close()&quot;>Copy ID</a>

Adam
while(ignorance==true){perpetuate(violence,fear,hatred);life--};
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top