Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ifrm = document.getElementById('hiddenFrame');
- if(ifrm.contentWindow) {
- ifrm = ifrm.contentWindow;
- } else {
- if (ifrm.contentDocument.document) {
- ifrm = ifrm.contentDocument.document;
- } else {
- ifrm = ifrm.contentDocument;
- }
- }
- ifrm.document.open();
- ifrm.document.write(codeList);
- ifrm.document.close();
Add Comment
Please, Sign In to add comment