window.print()로 인쇄 시 지정한 영역을 제외하고 출력하는 방법입니다.
1
2
3
|
<style type="text/css" media="print">
.noprint{display:none;}
</style>
|
http://colorscripter.com/info#e" target="_blank" style="color: white;">cs |
요렇게 style 작성 후 출력할 필요가 없는 태그에 class="noprint"를 작성해주시면 됩니다.
'웹프로그래밍 > javascript&jquery&css' 카테고리의 다른 글
[Javascript/Jquery]input태그의 name속성값이 배열([])일 때 value값 가져오기 (0) | 2019.03.28 |
---|