<script type="text/javascript">
$(function() {
$("input:file").change(function (){
var fileName = $(this).val();
$(".filename").html(fileName);
});
});
</script>
'jQuery' 카테고리의 다른 글
[jQuery]클릭 한 행의 값(속성,특정 값) 가져오기. (0) | 2022.01.04 |
---|---|
[jQuery]클릭 이벤트 강제실행 (0) | 2021.06.07 |
[jQuery]스크립트 Submit 전에 특정 값 추가하기(input) (0) | 2021.05.25 |
[jQuery]Selected 된 객체의 아이디 값 (0) | 2021.05.25 |
[jQuery]브라우저 캐시(방문기록) 추가 (0) | 2021.05.18 |