I’m using a jQuery plugin that uses a JSON string to suggest its data.
Everything works fine if the JSON string has less than X elements. Above this limit nothing happens, autosuggest fails. I guess it’s because there’s a kind of parsing limit, but how can I bypass this please ? I have an array of +5000 elements…
Here is my json code :
var SearchTxt = '[{"t":"word one"},{"t":"word two"}, ...]';
Thank you !
Ok, so I finally found the source of this problem. There were a parsing error due to the simple quotes… Don’t ask me why it only started to happen with a certain number of elements while all quotes where already escaped.
Well, so I changed this :
to
and it worked.