parent.frames[0]

T

timtos

I´ve got a frameset, dividing a html page in top and bottom side.
In the top, there is an image that is a hyperlink to the same page again.
In the bottom, there is a button that is calling a js function that looks for debuggin purpose like this:

alert(parent.frames[0].pic)

Loading the page the first time, I can click the button as often as I want and the message is always [object] but if I click the
(image)link that is refering to the same page again - so nothing is changing - the message that I see is [undefined].

Why is that and how can such a problem be resolved?
Thanks a lot for any hint! Greetings,
timtos.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top