skill-assessment-app/app/assets/javascripts/button-group.js

9 lines
163 B
JavaScript
Raw Normal View History

/**
* Button Group Functionality
*/
2016-08-09 11:36:52 -05:00
$('.btn-group button').click(function() {
$(this).siblings().removeClass('selected');
$(this).addClass('selected');
});