Hy!
I write one imagebrowser plugin, but i dont no how to link to the editor.
What is the ajax command?
This is the inserting code, but dont insert to the editor.
I write one imagebrowser plugin, but i dont no how to link to the editor.
What is the ajax command?
This is the inserting code, but dont insert to the editor.
function insertimg() {
if (selected >= 0) {
doc = frames['frm1'].document;
img = doc.getElementById(selected);
opener.document.forms[0].src.value = '<?php echo $IMGURL ?>/'+img.alt;
window.close();
}
}