반응형
http://www.joshi.co.kr/board_nCHS89/291098
<script type="text/javascript">$(function () {$('#btn-upload').click(function (e) {e.preventDefault();$('#file').click();});}); function changeValue(obj){ alert(obj.value); }</script><style type="text/css">#file { display:none; } </style><div><input type="file" id="file" name="file" onchange="changeValue(this)"/><button type="button" id="btn-upload">Image</button></div>'programming > jsp' 카테고리의 다른 글
| [jsp] jsp 파일 변경 (0) | 2017.09.25 |
|---|---|
| [jsp] jsonp 테스트 (0) | 2016.12.19 |
| [jsp] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache (0) | 2016.12.02 |
| [jsp] P3P 쿠키 사용 설정하기 (0) | 2015.06.08 |
| [jsp] IE11 한글 인코딩 (0) | 2015.05.21 |