autocomplete filter
autocomplete filter
![pearly_030](https://secure.gravatar.com/avatar/053730977cff165e242ffd5a48cd9c94/?default=https%3A%2F%2Fvanillicon.com%2F053730977cff165e242ffd5a48cd9c94_200.png&rating=g&size=120)
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.