In my html file I put as
<script src='http://otherdomain/file.js' ></script>
When I run my webpage, that other javascript creates some html content using docuemnt.write command.
How can I dynamically read that dynamic html using the javascript on my html page?
Is it possible?
You could overwrite
document.writeto just store the input and not write it. When you’re done, restore it to normal behavior:A working demo: http://jsbin.com/isuqi