my script is getting some array from php server side script.
result = jQuery.parseJSON(result);
now I want to check each variable of the array.
Try this:
$.each(result,function(index, value){ console.log('My array has at position ' + index + ', this value: ' + value); });