I kept one function in $.each() function and sending an array of elements to that function by using $.each() function. But the $.each() function doesn't care about the function and itself running.
Please solve my problem
This is the code
$.each(addrArray, function(i, item) {
alert(addrArray[i].ActualAddress);
getLatLang(addrArray[i].ActualAddress, addrArray[i].BusinessEntityID);
});