첨부파일(input type="file") 객체 초기화 > jquery

본문 바로가기

jquery

첨부파일(input type="file") 객체 초기화

작성일 16-10-10 10:51

페이지 정보

작성자서방님 조회 120회 댓글 0건

본문

1. 방법

var fileObj = $("input[name=photo]");

fileObj.replaceWith(fileObj.clone(true));



2. 방법

http://api.jquery.com/reset-selector/

댓글목록

등록된 댓글이 없습니다.

게시물 검색
Copyright © 서방님.kr All rights reserved.
PC 버전으로 보기