Print content of iFrame to Printer using javascript
function printFrame() {// id is id of iFrame
            var frm = document.getElementById(id).contentWindow;
            frm.focus();// focus on contentWindow is needed on some ie versions
            frm.print();
            return false;
}
Comments
Post a Comment