답변 2개
채택된 답변
+20 포인트
마르스컴퍼니
Expert
4년 전
* view_comment.skin.php
1) 추가
</p>
<p><button type="button" id="btn_auto">자동 댓글</button>
<script>
$(function() {
$('#btn_auto').on('click', function() {
$('#wr_content').val('읽었습니다. <img src="aaa.jpg">');
$('form[name=fviewcomment]').submit();
});
});
</script></p>
<p>
2) 수정
$comment = $list[$i]['content'];
->
$comment = $list[$i]['wr_content'];
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인