javascript Programming Glossary: window.frames
how to print part of rendered html page in javascript? http://stackoverflow.com/questions/1071962/how-to-print-part-of-rendered-html-page-in-javascript rel stylesheet type text css ' function printDiv divId window.frames print_frame .document.body.innerHTML printDivCSS document.getElementById.. printDivCSS document.getElementById divId .innerHTML window.frames print_frame .window.focus window.frames print_frame .window.print.. divId .innerHTML window.frames print_frame .window.focus window.frames print_frame .window.print script head body h1 b center This..
Javascript Iframe innerHTML http://stackoverflow.com/questions/139118/javascript-iframe-innerhtml improve this question I think this is what you want window.frames 'iframe01' .document.body.innerHTML EDIT I have it on good authority.. it. In retrospect that was a big mistake This will work window.frames 0 .document.body.innerHTML I understand that this isn't exactly..
Invoking JavaScript code in an iframe from the parent page http://stackoverflow.com/questions/251420/invoking-javascript-code-in-an-iframe-from-the-parent-page You can also access the frame using window.frames instead of document.getElementById . share improve this answer..
How do I print an IFrame from javascript in Safari/Chrome http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome id 0 .focus '#' id 0 .contentWindow.print this works in IE window.frames id .focus window.frames id .print But I can't get anything to.. this works in IE window.frames id .focus window.frames id .print But I can't get anything to work in Safari Chrome...
IE Bug (window === top) === false http://stackoverflow.com/questions/4850978/ie-bug-window-top-false frames clipboardData Edit This is just getting stupid now window.frames window.frames false window.frames window.frames false window.external.. Edit This is just getting stupid now window.frames window.frames false window.frames window.frames false window.external window.external.. just getting stupid now window.frames window.frames false window.frames window.frames false window.external window.external true window.external..
pass value to iframe from a window http://stackoverflow.com/questions/536538/pass-value-to-iframe-from-a-window container like this script function setUpFrame var frame window.frames 'frame id' frame.yourMethod 'hello' script body iframe name..
$(window).scrollTop() vs. $(document).scrollTop() http://stackoverflow.com/questions/5371139/window-scrolltop-vs-document-scrolltop
Get random item from JavaScript array http://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array
What's the best way to reload an iframe using JavaScript? http://stackoverflow.com/questions/86428/whats-the-best-way-to-reload-an-iframe-using-javascript .contentWindow.location.reload be careful in Firefox window.frames cannot be indexed by id but by name or index share improve..
Javascript Print iframe contents only http://stackoverflow.com/questions/9616426/javascript-print-iframe-contents-only question I would not expect that to work try instead window.frames printf .focus window.frames printf .print and use iframe id.. that to work try instead window.frames printf .focus window.frames printf .print and use iframe id printf name printf iframe Alternatively.. name printf iframe Alternatively try good old var newWin window.frames printf newWin.document.write ' body onload window.print dddd..
|