Error in Samples?

Priwet,



Spasibo bolshoe za pomosh w rabote s washej programmoj.

Ja rabotaju s samples dhtmlx.com/docs/products/dhtmlxC … ilter.html



eto rabotaet:

var z = new dhtmlXCombo(“combo_zone2”, “alfa2”, 200);

z.enableFilteringMode(true);

z.loadXML("…/common/data.xml");



a eto net:



var z = new dhtmlXCombo(“combo_zone4”, “alfa4”, 200);

z.enableFilteringMode(true, “php/complete.php”, true);



i eto toze ne rabotaet



var z = new dhtmlXCombo(“combo_zone5”, “alfa5”, 200);

z.enableFilteringMode(true, “php/complete.php”, true, true);



est’ li wozmoznost’ poprawit programmu?



podskazite, 4to ja delaju neprawilno.



Spasibo



Ludo…






Hello,


autocomplete mode (combo.enableFilteringMode(true,url)) requires using some server-side script. In case of the dhtmlxCombo/samples/04_filtering/02_combo_filter.html sample - “php/complete.php”.


The complete.php script gets data from the database. So, you should define correct database parameters in the dhtmlxCombo/samples/common/config.php.