Combo list is not filtered in filtering mode

Hi!



can you help with following?



I am trying to use combo in filtering mode with remote data access.













So on start typing drop-down list is opened with ALL data and it does not filtered when I type other letters both in IE6 and in FF 2 (but autocomplete works). If I change source on yours complete.php (it is commented now) then filtering works fine in IE but nether filtering nor autocmplete works in FF2.



My complete.php



<?php

header(“Content-type:text/xml”);

?>

<?xml version="1.0" encoding="utf-8"?>





Afghanistan

Albania

Algeria

Andorra

Angola

Antigua and Barbuda

Argentina

Armenia

Australia

Austria

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin





Thank you!

The init of combo , which you are using, cause it works in server side filtering mode, which means , that each time after group of chars typed - it call the server side script and show all response.
If you returning data , which doesn’t match mask - it still will be shown on client side.

If you need to load the data once, and filter it on client side after that you can use
var z=dhtmlXComboFromSelect(“combo_zone1”);
z.enableFilteringMode(true);
z.loadXML(“<?php echo JURI::Base().'components/com_review-salary_form/'; ?>complete.php”);

>>hen filtering works fine in IE but nether filtering nor autocmplete works in FF2.
Most probably error caused by incorrect XML received from server side. In case of FF - please be sure that there is no any extra ouput before <?xml declaration ( or just remove <?xml line )