Get id value from appended element [Twitch API]

Get id value from appended element [Twitch API]
0.0 0

#1

Link So when i click on online category, app will show all users who are currently online and append channel name to id. But i am not able to retrieve that id. Here is what i tried, its commented on the bottom of js file. Thanks in advance. EDIT: Solution


#2

So did you figure it out? I saw you had an edit with the solution


#3

Yes i did, here is solution:

  var id = event.target.id;
  console.log(id);
});```
And here is [explanation.](https://stackoverflow.com/questions/48239/getting-the-id-of-the-element-that-fired-an-event)