UE.getEditor('editor')


 <script type="text/javascript">
    $().ready(function(){   
    var editor = document.getElementById("editor3");
    //var ue = UE.getEditor('editor');  
    if(editor) {
        //var ue = UE.getEditor('editor');
    //    checkdata(); 
    }  
 //var ue = UE.getEditor('editor'); 
    function checkdata(){
        /*
        $.post("../../lib/ueditor/index.html",{
                Page_id : <?php echo $id ?>,
            }, function(data){
                $("#editor").html(data); 
                } );
        }
        
        // alert("editor存在");*/
            $.get("../../lib/ueditor/index.html",function(result){ 
                            if(result != null || result != ""){
                                
                            $('#editor3').html(result)}
                            }
                         );
         /*
         $.get('page/tree/imagedelete.php',{id:x},function(result){ 
            $('#editor3').html(result); 
             document.getElementById('editor3').style.display='';
         });                 
         */                 
                         
    }
 });
    
</script> 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM