jQuery로 파일업로드(input=file) 버튼 이미지로 변경하기 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

jQuery로 파일업로드(input=file) 버튼 이미지로 변경하기 정보

jQuery jQuery로 파일업로드(input=file) 버튼 이미지로 변경하기

첨부파일

jquery.filestyle.js (1.8K) 236회 다운로드 2012-12-27 09:46:59

본문

첨부된 파일을 include 하시고..

$(function(){
   $("input[type=file]").filestyle({
  image: "/resources/resources_new/images/popup/btn_search.gif",
  imageheight : 20,
  imagewidth : 58,
  marginleft : 7,
  width: 240
  });
});

<input type="file" name="upfile" id="upfile" class="inputTEX2" />

예제는 아래 사이트에서 확인 가능합니다.~ ^^
http://www.appelsiini.net/projects/filestyle/demo.html
추천
4
  • 복사

댓글 3개

© SIRSOFT
현재 페이지 제일 처음으로