jQuery AutoComplete Plugin not working for JSON Response (sValue.substring is not a function)
- by Sunday Ironfoot
I'm trying to use the autocomplete plugin for jQuery (this one http://docs.jquery.com/Plugins/Autocomplete). My server is returning JSON string, which I'm trying to process on the client via AutoComplete plugin's 'parse' and 'formatItem' parameters, like so:
$(document).ready(function()
{
$('.searchBox…