Hi,
first i would rather suggest to not use numbers as array name... in your
example you will have problem while debuggin code and i'm not sure that it
will work correctly.
so i would suggest instead of using 9 to use something else but with
characters.
you can do something like that (where myarra
Your Loop should probably look like this:
$.each(results, function(key,val) {
event += '' + val.title + ' ' + val.style + '<\/div>';
});
On 21 Feb., 12:51, newkid85 wrote:
> If I have JSON data like this:
>
> { "9": { "title": "Event 1", "style": "rock" }, "11": { "title":
> "Event
2 matches
Mail list logo