bootstrap checkbox选中事件

https://blog.csdn.net/liuxl_0205/article/details/89326260

bootstrap checkbox change状态获取
$("body").on('ifChanged', '.checkExtPrize', function(e){
    var str = '&nbsp&nbsp<select class="form-control goodsChoice" >\n' +
    '                        <option value="0">商品:</option>\n' +
    '                        <option value="1">ipad</option>\n' +
    '                        <option value="2">iphone</option>\n' +
    '                    </select>';
    if($(this).is(':checked')) {
        $(this).parent().siblings('.clickDelScorePart').after(str);
    }else{
        if($(this).parent().siblings().hasClass('goodsChoice')){
            $(this).parent().siblings().remove('.goodsChoice');
        }
    }
});
普通 checkbaox change状态获取
$("body").on('change', '.checkExtPrize', function(e){
    var str = '<select class="form-control goodsChoice" >\n' +
        '                        <option value="0">商品:无</option>\n' +
        '                        <option value="1">ipad</option>\n' +
        '                        <option value="2">iphone</option>\n' +
        '                    </select>';
    if($(this).is(':checked')) {
        $(this).siblings('.clickDelScorePart').after(str);
    }else{
        if($(this).siblings().hasClass('goodsChoice')){
            $(this).siblings().remove('.goodsChoice');
        }
    }
});

bootstrap checkbox icheck