9
I get the above error on the jQuery v1.7.2 code when I try to use the $.each method:
$.post('url_of_php_file.php',
$.param( {
}),
function(data){
$.each(data.articles, function(index, value){
.....
});
The request returns:
{"articles": [
{
"id":"11",
"date":"2012-12-19 15:52:06",
"title":"url_title",
"link":"url_link",
"available":"1"
},
..... *more rows like the above*
]}
Why do I get this error?