Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "templates":[
- {
- "id":"2c1d99d9b6b2fb417601d24c10c9b041a7d6f37b",
- "dailyemails":[
- "saaa@aa.com",
- "aaa.aaa@gmail.com"
- ],
- "name":"Registration Report"
- },
- {
- "id":"7d7cc642ca13cc4a998cad364dfe8e623fd95ae3",
- "dailyemails":[
- "saaa@ss.com"
- ],
- "name":"Live Report"
- }
- ]
- }
- var obj = JSON.parse(json);
- $.each(data.templates,function(index,item){
- alert(item.dailyemails.length)
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement