| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- json
- jquery
- php
- spring form tag
- exception
- JSTL
- 날짜
- MYSQL
- 한글
- 스크립트
- 웹 플랫폼 설치 관리자
- 톰캣
- maven
- 오라클
- RADIO
- HTML5
- html
- 호환성
- 네이버스마트 에디터
- Oracle
- switch
- 문자열
- 이클립스
- 전자정부 표준프레임워크
- @RequestBody
- null
- checbox
- SSL
- DB
- java
- Today
- Total
개인적인 정리
jquery print 본문
https://github.com/jasonday/printThis
화면의 부분, 특정영역만도 출력이 가능하다.
사용법
$('selector').printThis();
--> $('#waste_print').printThis();
option
$("#mySelector").printThis({
debug: false, * show the iframe for debugging
importCSS: true, * import page CSS
importStyle: false, * import style tags
printContainer: true, * grab outer container as well as the contents of the selector
loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
pageTitle: "", * add title to print page
removeInline: false, * remove all inline styles from print elements
printDelay: 333, * variable print delay; depending on complexity a higher value may be necessary
header: null, * prefix to html
base: false * preserve the BASE tag, or accept a string for the URL
formValues: true * preserve input/form values
});
'Script & jQuery' 카테고리의 다른 글
| jquery datetimepicker (0) | 2017.03.20 |
|---|---|
| selectbox 의 선택된 값 읽어오기 (0) | 2017.03.20 |
| jquery trim (0) | 2017.03.11 |
| min.js 풀기 (0) | 2017.03.08 |
| jquery .hover (0) | 2016.12.19 |
| 스크롤을 통한 (좌측)메뉴 활성화 (0) | 2016.12.11 |
| datetimepicker default date 설정 (0) | 2016.12.05 |
| 문자열 길이 재는 스크립트 (0) | 2016.12.01 |