That works tyvm :)
On May 5, 1:25 am, MorningZ wrote:
> if you had:
>
> var json = {"4":{"6":"1"},"3":{"1":"1","2":"1"}}
>
> and this div:
>
>
>
> then this code:
>
> $.each(json, function(Parent, Values) {
> $("#Results").append("Parent: " + Parent + "");
> $.each(values, functio
if you had:
var json = {"4":{"6":"1"},"3":{"1":"1","2":"1"}}
and this div:
then this code:
$.each(json, function(Parent, Values) {
$("#Results").append("Parent: " + Parent + "");
$.each(values, function(key, val) {
$("#Results").append("-- Key: " + key + ", Value:
2 matches
Mail list logo