My javascript code like this :
$(function(){ $(\'input[type=\"radio\"]\').click(function(){ var $radio = $(this); var name = $(this).prop
You need to modify the input element selector to handle both input types checkboxes and radio buttons:
$('.list-unstyled input').....
Working Demo