Was trying to figure out how to select every

  •  item in a row except the one with a class of “active.” As always, Stackoverflow reminded me that jQuery came with “:not.” </p>

    Example:

    $(“li:not(.active)”).hover();

  • blog comments powered by Disqus
    • Hi, I'm Linda! I enjoy going to tech meetups, learning web development, and blogging about the learning path. Follow me @LPnotes

    Subscribe to The Coding Diaries