blob: f0a5ea8d3fdefb9d39c7a01bc78562bd9cfa1eac (
plain)
1
2
3
4
5
6
7
8
9
|
<!DOCTYPE html>
<iframe></iframe>
<script>
var iframe = document.getElementsByTagName("iframe")[0];
var doc = iframe.contentDocument;
doc.open("TEXT/HTML");
doc.write("<i>foo</i>");
doc.close();
</script>
|