댓글에 테이블소스(html) 넣고 싶어요
본문
댓글 부분에 테이블소스를 넣고 싶은데요 넣으면 태그까지 모두 달려나오네요
========================
<table>
<tr>
<td>내용</td>
</tr>
</table>
========================
view-comment.skin.php 파일에서 아랫부분 어떻게 수정해야되나요?
<div class="form-group">
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span> 글자</strong><?php } ?>
<textarea id="wr_content" name="wr_content" maxlength="10000" rows=5 required class="form-control input-sm" title="내용"
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
<script>
$("textarea#wr_content[maxlength]").live("keyup change", function() {
var str = $(this).val()
var mx = parseInt($(this).attr("maxlength"))
if (str.length > mx) {
$(this).val(str.substr(0, mx));
return false;
}
});
</script>
</div>