136
rated 0 times
[
139]
[
3]
/ answers: 1 / hits: 29334
/ 11 Years ago, fri, january 31, 2014, 12:00:00
This is my code:
<div id=main-content>
<script>
document.title = document.getElementById(main-content-iframe).contentDocument.title;
</script>
<iframe name=cstage src=home.html width=100% height=100% id=main-content-iframe frameborder=0 onload=document.title=parent.frames['cframe'].document.title;>If you're seeing this message, it means IFrames are not supported; Please enable IFrames or upgrade to a compatible browser that supports IFrames.</iframe>
</div>
It's not working, what am I doing wrong?
More From » html