-
Notifications
You must be signed in to change notification settings - Fork 7
/
members.html
35 lines (33 loc) · 848 Bytes
/
members.html
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
27
28
29
30
31
32
33
34
35
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="utf-8" />
</head>
<body>
<div id="memberList"></div>
<script src="js/jquery-1.6.4.min.js"></script>
<script src="js/api/meetupApi.js"></script>
<script>
meetupApi.getMeetupMembers(function(data) {
var html = "";
for(var i in data)
{
html += "<dl>";
html += "<dt>Member Name:</dt><dd><a href=\"";
html += data[i].profile_url;
html += "\">";
html += data[i].name;
html += "</a></dd>";
html += "<dt>Bio:</dt><dd>";
html += data[i].bio;
html += "</dd>";
html += "<dt>Photo:</dt><dd><img src=\"";
html += data[i].photo_url;
html += "\" alt=\"Member profile image\"/></dd>";
html += "</dl>";
}
document.getElementById("memberList").innerHTML += html;
});
</script>
</body>
</html>