').show(); } } }); } else if ($(this).val().length < 2) { suggestersContainer.hide(); suggestersContainer.html(""); } } else { suggestersContainer.hide(); suggestersContainer.html(""); } } }); function makeSuggesterSection(object, type) { var suggestions = new Array(); for (var i = 0; i < object.suggestions.length; i++) { //suggestions.push('' + object.suggestions[i] + ''); suggestions.push('' + object.suggestions[i] + ''); } return '