Remove item from an Array when clicking in a option

I have a Javascript array named activeFilters with the following values:

var activeFilters = [
    ['Tom Brady', 'Aaron Rodgers', 'Patrick Mahomes'],
    ['Post Game', 'Status']
];

I also have a menu list with all the values gathered in an unordered list:

<ul id="list">
    <li>Tom Brady</li>
    <li>Post Game</li>
    <li>Aaron Rodgers</li>
    <li>Patrick Mahomes</li>
    <li>Status</li>
</ul>

My main goals is: when users click in one of the <li> options to remove this value from the array.

143 thoughts on “Remove item from an Array when clicking in a option”

  1. I just could not go away your site before suggesting that I extremely enjoyed the usual information an individual supply for your guests? Is going to be back often to check up on new posts.

    Reply
  2. I believe this is among the such a lot vital info
    for me. And i am glad reading your article.
    But should commentary on few basic things, The website taste is great,
    the articles is in point of fact nice : D.

    Just right task, cheers

    Reply
  3. I loved as much as you’ll receive carried out right here.

    The sketch is tasteful, your authored material
    stylish. nonetheless, you command get bought an impatience
    over that you wish be delivering the following.

    unwell unquestionably come further formerly again since
    exactly the same nearly very often inside case you shield this increase.

    Reply
  4. You really make it seem so easy with your presentation but I find this topic to be
    really something that I think I would never understand.
    It seems too complicated and very broad for me.
    I’m looking forward for your next post, I will try to get the hang of it!

    Reply
  5. We would like to thank you once again for the gorgeous ideas you offered Jesse when preparing her own post-graduate research in addition to, most importantly, with regard to providing many of the ideas in one blog post. Provided we had known of your web site a year ago, we would have been kept from the unnecessary measures we were having to take. Thanks to you. firmonet

    Reply
  6. I have been exploring for a little for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this website. Reading this information So i am happy to convey that I’ve an incredibly good uncanny feeling I discovered exactly what I needed. I most certainly will make certain to do not forget this web site and give it a glance regularly.

    Reply
  7. It’s perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I desire to suggest you some interesting things or tips. Perhaps you could write next articles referring to this article. I desire to read more things about it!

    Reply
  8. Hi! I could have sworn I’ve been to this blog before but after checking
    through some of the post I realized it’s new to me.
    Anyhow, I’m definitely glad I found it and I’ll be book-marking and checking back frequently!

    Reply
  9. Pingback: latisse brow
  10. Pingback: tizanidine 122
  11. Pingback: cost of latisse
  12. Pingback: uses for aralen
  13. Pingback: clomid 100mg pills