I'm using from kcfinder in my web page it is ok but only one problem; i need to separate callback function and use it further ...but i can't
function openKCFinder(div) {
window.KCFinder = {
callBack: function(url) {
///all action
}
//i need something similar this ///it is not work;
function set_pic(url,div){
///all action
}
function openKCFinder(div) {
window.KCFinder = {
callBack: set_pic(url,div) ;
}
thanks for help me.
and excuse me for poor English.