Wednesday 8 October 2014

Simple way to get json values in javascript from json encoded from php

$pro = json_encode($array);
$.each(, function(i, post){
alert(post.id)
});

No comments:

Post a Comment