0
Chrome에서이 기능을 테스트 해본 결과 좋았지 만 Firefox는 게으르다. 해당 HTML의 부 :자바 스크립트 print iframe이 firefox에서 작동하지 않습니다.
<div id="print" style="display:none;"></div>
그리고 자바 스크립트처럼 다음과
$('.print').click(function(){
printF($(this));
return false;
});
function printF(dugme){
$('#print').html("<iframe src='http://example.comli.com/index.php/prijava/pogledaj/"+$(dugme).attr('name') +"' onLoad='this.contentWindow.print();'></iframe>");
};
당신