How to access variables in an iframe?(Opera,JavaScript)
Posted by cx on 08/10/07 12:31
I want to acess a variable in the iframe, the following code runs well
in Firefox and IE, but fails in Opera. Can I modify the code to meet
opera's standard?
a.htm:
<iframe id=q src="b.htm"></iframe>
<script>
var i;
var l=document.getElementById('q');
alert(l.kkk);
</script>