-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmodels.html
More file actions
26 lines (18 loc) · 898 Bytes
/
Copy pathmodels.html
File metadata and controls
26 lines (18 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
<head>
<script type="text/javascript" > </script>
<script>
var data = '{ "client": [{"ClientID": "0000000001", "Name": "Valdez Gilberto JR", "Phone": "(956)542-8148" , "MedActID": "10", "Gender": "M", "Division": "WP", "Address": "1905 Illinois Ave N", "Class": "", "CityState": "Brownsville TX 78521-6732" } , {"ClientID": "0000000002", "Name": "Salazar Olga F", "Phone": "(956)546-3909" , "MedActID": "100", "Gender": "F", "Division": "MP", "Address": "Route 8 Box 626 (San Pedro)", "Class": "", "CityState": "Brownsville TX 78520" } ]}';
var obj = JSON.parse(data);
for (var i = 0; i < obj.client.length; i++) {
document.write("<div>" + obj.client[i].Name + "</div>");
document.write(obj.client[i].Name);
document.write("<div>");
document.write(obj.client[i].Name);
document.write("</div>");
}
</script>
</head>
<body>
</body>
</html>