tyring to implement an autocomplete based on :http://www.devbridge.com/projects/autocomplete/jquery/#intro
it looks like it's very straight forward but i cannot get this one to work with an ajax call. by not working, i mean i don't see the drop down. firebug shows no errors.
<script type="text/javascript">
var options, a;
jQuery(function(){
options = { serviceUrl:'vendors1.cfm',
delimiter: /(,|;)\s*/,
deferRequestBy: 0,
minChars:2};
a = $('#query').autocomplete(options);
});
</script>
now the vendors1.cfm, returns a ';' seperated list: ABC CONSTRUCTION;ABC CONSTRUCTION;ABC CONSTRUCTION;ABC PLUMBING & ELECTRICAL SUPPLY INC etc.
how do i properly use the "serviceURL". what format do i have to output the data?