tags:

views:

28

answers:

1

hi

If the json format looks like this:

[["id","john","age-23"], ["id","marry","age-45"] ]

how can i call it via JavaScript assumming like

<script src="/json/response.json">
</script>

<script>
my call script is here
</script>

I like to enumerate each object/value.

Thank you.

A: 

Have a look at this. Looks like a similar question on SO. Note it is for jQuery!

dr. squid
that kind is very easy to enumerate.I call start from a.GroupList.Mine is js codes start with [[
jack