$.post("http://10.0.1.101:9000/search/", {q: ""+inputString+""}, function(data){
if(data.length >0) {
alert(data);
$('#suggestions').show();
$('#autoSuggestionsList').html(data);
}
});
alert(data) gives me :
{"result": ["taxo", "tere", "tuy"], "success": "True"}
But I want that the alert gives me ["taxo", "tere", "tuy"]only this value. alert(data['result']) gives me undefined value.
for/while-loop and anif-condition.