icheck icon indicating copy to clipboard operation
icheck copied to clipboard

ifChecked handler stops working....

Open m3ldro opened this issue 8 years ago • 2 comments

Hello, i've found something strange. I'm using ifChecked to handle the change on my radio button set.

Radio buttons are inside a modal-box and on display block of the modal i call this function

function inizializzaIcheck(tipoCheck,classeRadio) {

    if(typeof(tipoCheck) == 'undefined') {
        tipoCheck = 'minimal';
        classeRadio = '';
    }

    $('input').iCheck({
        tap: true,
        checkboxClass: 'icheckbox_'+tipoCheck,
        radioClass: 'iradio_'+tipoCheck,
        increaseArea: '20%' // optional
    });
}

All seems to working well but.... at a certain point the handler doesn't works anymore.

If i click on the radio... no error, the radio option change properly but the handler not working.

    $('input[name=my_radio]').on('ifChecked', function (event) {
        var data = $(this).val();
        myFunction(data);
    });

m3ldro avatar Jun 05 '17 15:06 m3ldro

@m3ldro I got the same did you sole this?

Legion112 avatar Sep 06 '18 12:09 Legion112

@112Legion112 no, i'm still having this problem. :(

m3ldro avatar Sep 06 '18 13:09 m3ldro