Hi there,
I need simple instructions on how to add a combo box to my dialog that fetches its <options> from an ajax call.
Can anyone please help?
Currently I have
I need simple instructions on how to add a combo box to my dialog that fetches its <options> from an ajax call.
Can anyone please help?
Currently I have
CKEDITOR.dialog.add( 'myDialog', function( editor ){
return {
title : 'My dialog title',
minWidth : 400,
minHeight : 200,
contents :
[
{
id : 'general',
label : 'Settings',
elements :
[
{ // UI elements of the Settings tab.
type : 'select',
id : 'mySelect',
label : 'mySelect',
items :
************************** I want to load items here
],
},
]
}
]
};
}); 
Re: How can I add a dynamically loaded combobox to a dialog