특정부분만 뽑아내기

<div style="position:relative; width:100px; height:75px; float:left">
<img src="http://5389.cbr.com/2008/0111/10025992420080111214122.jpg" width="100px" height="75px" onError="this.src='http://image.cbr.com/imag/default_sum.gif'">
</div>
<div style="position:relative; float:left; margin-left:0.5em">
<b><font style="font-size:13px; font-family:돋움; color:#555555; text-decoration:none">곰인코더 ㅗ^^ㅗ</font></b>
</a>
</div>


위와 같이 쓴 글에서...

http://5389.cbr.com/2008/0111/10025992420080111214122.jpg

부분만 따로 뽑아서 저장하는 방법은 없나요???

함수를 찾아보아도 함수로는 안되는 것 같던데요...

부탁드립니다..
|

댓글 1개

<img src="http://~~~" id='img'>

<script>
alert(document.getElementById('img').src);
</script>
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 1,577
18년 전 조회 1,570
18년 전 조회 1,213
18년 전 조회 1,565
18년 전 조회 1,536
18년 전 조회 1,654
18년 전 조회 1,139
18년 전 조회 1,607
18년 전 조회 1,707
18년 전 조회 1,126
18년 전 조회 1,122
18년 전 조회 2,851
18년 전 조회 1,629
18년 전 조회 1,549
18년 전 조회 1,539
18년 전 조회 1,526
18년 전 조회 1,548
18년 전 조회 1,705
18년 전 조회 1,665
18년 전 조회 1,573