Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RabbitMQ
- random
- MySQL
- Eclipse
- Postfix
- 문자열자르기
- TextBox
- Python
- php
- 한글 깨짐
- install
- Oracle
- yum
- 일괄변경
- JavaScript
- ubuntu
- centos
- i18n
- replace
- 부모창
- jQuery
- Selectbox
- SVN
- mariadb
- docker
- 천단위
- TPL
- smarty
- 확장자
Archives
- Today
- Total
목록print (1)
wilson's story
특정 div 프린트 하기
function content_print(){ var initBody = document.body.innerHTML; window.onbeforeprint = function(){ document.body.innerHTML = document.getElementById('선택될 div id').innerHTML; } window.onafterprint = function(){ document.body.innerHTML = initBody; } window.print(); } =============================================================================================== 내용 content_1 내용 content_2 ========..
Javascript
2008. 3. 3. 16:06