autocomplete filter
autocomplete filter

Hi,
On my site, the input filter is an autocomplete input field.
[code]
......
$("#sitedepart").change( function() { oTable2.fnDraw(); } );
....
$(function()
{
$( "#sitedepart" ).autocomplete({
source: sitesReferences
});
});
....
.....
[/code]
My problem is that the unique character I write in this field is using to filter the table.
I want the full selected value in source (sitesReferences) to filter.
In sitesReferences there is, for example, Jquery.
When I write "q" the filter is "q" and not "Jquery" when I select it.
I don't find. :-(
Thanks.
On my site, the input filter is an autocomplete input field.
[code]
......
$("#sitedepart").change( function() { oTable2.fnDraw(); } );
....
$(function()
{
$( "#sitedepart" ).autocomplete({
source: sitesReferences
});
});
....
.....
[/code]
My problem is that the unique character I write in this field is using to filter the table.
I want the full selected value in source (sitesReferences) to filter.
In sitesReferences there is, for example, Jquery.
When I write "q" the filter is "q" and not "Jquery" when I select it.
I don't find. :-(
Thanks.
This discussion has been closed.