| The best web text editor for everyone


<!-- Make sure the path to CKEditor is correct. -->
 <script src="./ckeditor/ckeditor.js"></script>
 <script language="javascript">
 function sendit()
        //글 내용		
		var data = CKEDITOR.instances.content.getData(); 
		document.myform.content.value = data;
        if (trim(document.myform.content.value).length == 0)  {
                alert("글을 작성 안하셨습니다. 글을 작성해 주십시요");
                return false;
       // document.myform.submit();

<Form name="myform" enctype="multipart/form-data" method="POST" action="./****">
       <textarea name="content" id="content" rows="16" cols="56"></textarea>

    // Replace the <textarea id="content"> with a CKEditor
    // instance, using default configuration.
    CKEDITOR.replace( 'content' );

바로가기: | The best web text editor for everyone.