[Autocomplete] Add an option : match
Hi :)
It would be great to be able to enclose matched result in autocompletion with tags we wants.
Something like that :
- $("input").autocomplete({
- source: "url.php",
- minLength: 2,
- delay: 750,
- appendTo: "#tag",
- match: function (matched) {
- return "<strong>" . matched . "</strong>"
- }
- });
Thanks :)