How can i get iframe object than a html page belngs to.

B

bluewing

A html page is referenced by An Iframe,
but this html page is not given any informathon about the parent page.
Yes. No iframe name, No iframe id is given to this html page as
parameter.

in this situation,
Is there any way in that this page access the iframe object using
javascript?
 
C

cosmic fool

bluewing said:
A html page is referenced by An Iframe,
but this html page is not given any informathon about the parent page.
Yes. No iframe name, No iframe id is given to this html page as
parameter.

in this situation,
Is there any way in that this page access the iframe object using
javascript?

i have been using window.top.document...
 
B

bluewing

Thanks for your reply.

but the page will be used like common utility.
so, I can't guess in what frame and in what iframe will use this page.
 
C

cosmic fool

bluewing said:
Thanks for your reply.

but the page will be used like common utility.
so, I can't guess in what frame and in what iframe will use this page.

how about window.parent..?
 

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,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top