[jQuery UI Autocomplete] accent folding and "associative array"
I'm not very good in JS, but usually I am able to solve my problems by searching and trial&erroring, but this time I can't do it. Please help.
I have a problem with Autocomplete's Accent folding function.
I can't get the standard code to work with my "associative array" of values.
This is how my autocomplete data look like:
var availableDestination = [
{label: "Írsko", id: "149", supreg: "724"},
...
...];
MY GOAL: Check value of the "label" element and return "Írsko" when people start typing both "irs" and "írs".
Thanks for your help.