I’ve been trying to get your autosuggest comboBox working in a PHP website. Works on IE (no help), but not on Firefox. Using the most basic script I can:
function make_searchbox() {
// load libraries
$html = ‘’;
$html .= ‘’;
$html .= ‘’;
$html .=’
$html .=’’;
return $html;
}
with quicklist.php being:
<?php
header(“Content-type: text/xml”);
$html = ‘<?xml version="1.0" encoding="ISO-8859-1" ?>’;
$html .=’’;
$html .=‘one’;
print($html);
?>
I can see in Firebug that the headers are returning without any spaces before the XML tag:
<?xml version="1.0" encoding="ISO-8859-1" ?>one
I’ve tried it with and without header call, with longer lists, with and without the encoding statement
Thanks.