<html> | |
<body> | |
<iframe id="firstFrame"> | |
</iframe> | |
<iframe id="secondFrame"> | |
</iframe> | |
<script> | |
var secondFrame = document.getElementById('secondFrame'); | |
secondFrame.contentDocument.documentElement.contentEditable = true; | |
secondFrame.contentDocument.documentElement.focus(); | |
</script> | |
</body> | |
</html> |