댓글 검색 목록

[jQuery] replace img src

페이지 정보

작성자 운영자 작성일 15-05-18 22:04 조회 3,318 댓글 0

$('img').attr('src', 'test.jpg');

//you can use the id of the <img> like,

$('#imag').attr('src', 'test.jpg'); 

댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.