function doSubmit (theform) { // --------------------------------------------------------------------------------- // ** cheditor 관련 ** // myeditor라는 이름은 현재 데모에서 만들어진 에디터 개체 이름입니다. // // myeditor.outputBodyHTML() 메서드를 호출하면 에디터에서 작성한 글 내용이 // myeditor.inputForm 설정 옵션에 지정한 'fm_post' 폼 값에 자동으로 입력됩니다. // // outputBodyHTML: BODY 태그 안쪽 내용을 가져옵니다. // outputHTML: HTML 문서 모두를 가져옵니다. // outputBodyText: BODY 태그 안쪽의 HTML 태그를 제외한 텍스트만을 가져옵니다. // inputLength: 입력한 텍스트 문자 수를 리턴합니다. // contentsLength: BODY 태그 안쪽의 HTML 태그를 포함한 모든 문자 수를 리턴합니다. // contentsLengthAll: HTML 문서의 모든 문자 수를 리턴합니다. myeditor.outputBodyHTML(); //이미지 var data = myeditor.getImages(); var str = ""; if (data != null) { for (var i=0; i"); } function del_fileadd_fixed(str){ var t = $("#"+str).find(".fileadd_item").length; if($("#min_file_num").val() < t){ $("#"+str).find(".fileadd_item").eq(t-1).remove(); } }