Below is my ajax call
$(document).ready(function() {
$(\"#blog\").focusout(function() {
alert(\'Focus out event call\');
alert(\'hell
Mention a dataType attribute in your ajax call.It consider text by default.That's why not able to iterate on result
dataType:'json'
Because your result should be array or json
the 'result' in success function should be an array
Shouldn't data
be an object?
data: {
blog: $('#blog').val()
},