Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Victor Castro
    @Valancastro
    This is the general Javascript inquiries chat room.
    Sarah McAleer
    @SarahMcAleer
    Cool
    Victor Castro
    @Valancastro
    There seems to be a lot of great chat rooms but most of them are in russian. . .
        $('.circle').click( function(e) {
          alert("clicked")
          e.preventDefault();
          $(this).toggleClass('fa-circle-o ');
          $(this).parent().parent().toggleClass('strikethrough no-strikethrough');
    
     })
    this seems wrong any suggestions on how i can get an appended list to switch classes? cause this just seems to double click all of my appended items.
    Sarah McAleer
    @SarahMcAleer
    Maybe also post the link to the codepen?
    Victor Castro
    @Valancastro
    Sarah McAleer
    @SarahMcAleer
    or github if you put it up there
    cool
    Victor Castro
    @Valancastro
    my computer died but i got it back up
    i messaged you on slack
    Sarah McAleer
    @SarahMcAleer
    I think I found what might be going on with your JQuery events: http://www.gajotres.net/prevent-jquery-multiple-event-triggering/