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
So did you figure it out? I saw you had an edit with the solution
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)