I have a combobox defined like this…
var service_id= new dhtmlXCombo(“combo_service_id”, “service_id”, 300, “image”);
service_id.loadXML("./includes/services_menu.php");
service_id.enableFilteringMode(true);
My XML looks like this…
<?xml version="1.0" encoding="ISO-8859-1" ?>
Hair: Women’s Hair Cut
Nails: Airbrush
Waxing / Hair Removal: Lip Wax
I don’t get images in the list.
What am I doing wrong?
Walter
Having img_src is not enough
Please be sure that dhtmlxcombo_extra.js included in project and while initializing combo you are set type of used options
( please refer to sample, included in package )
refer to sample…
Yes, well, it never occurred to me to open the sample files and read the source (but I will from now on).
I just read the documentation and the SAMPLE tab there…
Adding images to dhtmlxCombo
It does not mention anything about a secondary file.
But thank you for the clarifcation.
Again, thank you for your time, responses and tool.
Walter