These are chat archives for Valancastro/Javascript

3rd
Nov 2015
Victor Castro
@Valancastro
Nov 03 2015 06:09
This is the general Javascript inquiries chat room.
Sarah McAleer
@SarahMcAleer
Nov 03 2015 06:09
Cool
Victor Castro
@Valancastro
Nov 03 2015 06:09
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
Nov 03 2015 06:14
Maybe also post the link to the codepen?
Sarah McAleer
@SarahMcAleer
Nov 03 2015 06:14
or github if you put it up there
cool
Victor Castro
@Valancastro
Nov 03 2015 06:14
my computer died but i got it back up
i messaged you on slack
Sarah McAleer
@SarahMcAleer
Nov 03 2015 07:26
I think I found what might be going on with your JQuery events: http://www.gajotres.net/prevent-jquery-multiple-event-triggering/