Skip to content

Commit

Permalink
when submit, the textarea to clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunmania committed Sep 13, 2013
1 parent cf31760 commit c3ad2e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ function loadCommentPage(document_srl, cpage) {
cpage: cpage
};
var url = current_url.setQuery('mid', current_mid).setQuery('act', 'dispBoardComment');

// 댓글 입력창 초기화
jQuery('#editor_'+document_srl).val('');

// ajax로 댓글 부분만 새로고침
jQuery('.boardComment').load(url+' .feedbackList', params, function() {
// 로딩 완료 후 처리
Expand Down

0 comments on commit c3ad2e5

Please sign in to comment.