直接访问管理页ckfinder.html不符合我的需求,不能把我选中的文件地址赋给input text JS的单独使用代码//CKFinder 单独调用 function BrowseServer(inputId) { var finder = new CKFinder(); finder.basePath = '../../ckfinder/'; //导入CKFinder的路径 finder.selectActionFunction = SetFileField; //设置文件被选中时的函数 finder.selectActionData = inputId; //接收地址的input ID finder.popup(); }
JS的单独使用代码//CKFinder 单独调用
function BrowseServer(inputId) {
var finder = new CKFinder();
finder.basePath = '../../ckfinder/'; //导入CKFinder的路径
finder.selectActionFunction = SetFileField; //设置文件被选中时的函数
finder.selectActionData = inputId; //接收地址的input ID
finder.popup();
}