here is the code i use.
Expand|Select|Wrap|Line Numbers
- function changeContent(content) {
- var buf = content + "_2";
- var iframe = document.getElementById(buf);
- document.getElementById(content).innerHTML = (iframe.contentDocument ||
- iframe.contentWindow.document).documentElement.innerHTML;
- }
but when I go to another page, and click on the "back" button on internet
explorer, it gives the "Access is denied" error...
is there anyway to fix it?
Thanks