구매고객
판매자
솔루션별 질문
주문서에 추가로 입력을 받으려고 에디터를 붙여 놓았습니다.
DB에 필드 추가하고 시도해봤는데 저장이 않되네요.
print_r2($_POST); exit; 로 확인해 봤는데
입력한 내용이 넘어가지도 않습니다.
특별한 이유가 있을까요?
답변을 작성하려면 로그인이 필요합니다.
광고가 아닌 글을 신고하면 회원님의 신고 권한이 제한될 수 있습니다. 신중하게 신고해 주세요.
js는 다 넣어주었구요.
<script>
function fitemuse_submit(f) {
var is_content_editor_data = oEditors.getById['is_content'].getIR();
oEditors.getById['is_content'].exec('UPDATE_CONTENTS_FIELD', []);
if(jQuery.inArray(document.getElementById('is_content').value.toLowerCase().replace(/^\s*|\s*$/g, ''), [' ','<p> </p>','<p><br></p>','<div><br></div>','<p></p>','<br>','']) != -1){document.getElementById('is_content').value='';}
if (!is_content_editor_data || jQuery.inArray(is_content_editor_data.toLowerCase(), [' ','<p> </p>','<p><br></p>','<p></p>','<br>']) != -1) { alert("내용을 입력해 주십시오."); oEditors.getById['is_content'].exec('FOCUS'); return false; }
return true;
}
// BS3
$(function(){
$("#is_content").addClass("form-control input-sm form-is-size");
});
</script>
</div>
이 부분을 넣어주면 에러나 나네요...