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!

Can you access an HTML object from the last page?

Status
Not open for further replies.

pcawdron

Programmer
Jun 14, 2000
109
AU
Can you access an HTML object from the last HTML page if you know the ElementId?

I am processing a form using ASP, but I'd like to access other elements from the form page that are not form items. (The page is dynamically created so there's information on it I can't anticipate)

I tried....

parent.document.getElementById('UserID').innerHTML

But, to my surprise, there's no parent. I'll explain, if I use alert(parent.location.href) I get the href of the ASP page not the Form page that launched the ASP page ?!

An ideas.....

Many thanks,
Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top