nm
This commit is contained in:
parent
a77b1e5589
commit
1e31bbaa75
@ -2,6 +2,7 @@
|
|||||||
<script>
|
<script>
|
||||||
var docframe = document.getElementById("docFrame").contentWindow.document.body.innerHTML;
|
var docframe = document.getElementById("docFrame").contentWindow.document.body.innerHTML;
|
||||||
console.log(docframe);
|
console.log(docframe);
|
||||||
|
alert("Content: \n" + docframe);
|
||||||
var targetContent = docframe.querySelector(".file-view");
|
var targetContent = docframe.querySelector(".file-view");
|
||||||
|
|
||||||
docframe.getElementsByTagName('body')[0].innerHTML = targetContent.innerHTML;
|
docframe.getElementsByTagName('body')[0].innerHTML = targetContent.innerHTML;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user