I am trying to style a checkbox list. I\'ve added my styles and they appear correctly when rendered. I want to add a class when the label for the checkbox is clicked. This i
Ok so what I said in the comment. It generates two click events, do this instead and it works like a charm: Fiddle
$('input').on('click',function(){ console.log("clicked"); $('div#target').append($(this).parent().clone()); });
You might want to rename your inputs.