Closed MehGokalp closed 9 years ago
Solved. Use html prop of element.
$('input[type="radio"].icheck_line,input[type="checkbox"].icheck_line').each(function(){
var self = $(this),
label = self.next(),
label_text = label.html();
label.remove();
self.iCheck({
checkboxClass: 'icheckbox_line-blue',
radioClass: 'iradio_line-blue',
insert: '<div class="icheck_line-icon"></div>' + label_text
});
});
Hi all, I use check line. When i add html into label icheck remove it. Ex:
How can i fix this?