54
rated 0 times
[
61]
[
7]
/ answers: 1 / hits: 34850
/ 12 Years ago, sun, december 16, 2012, 12:00:00
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?
More From » jquery