...

Accessing an iframe from another iframe in netscape

mvkirankumar
05-12-2003, 06:59 AM
Dear friend,

I require your help on the following:

I have a web page, which has 2 iframes in it. let them be iframe1 and iframe2.

now i want to access the iframe2 from the iframe1.

In IE it worked like this:

id=parent.iframe2.document.getElementById('txtbox').id;

but in Netscape it doesnt work.

how to access or pass some information in this situation to the iframe2.

pls help me out.

regards,
Kiran Kumar.

liorean
05-12-2003, 11:14 AM
According to the DOM, you need to use .contentDocument instead of .document. That's where your problem lies.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum