icheck
icheck copied to clipboard
Change 'insert' text when checked
Hello. Is there a way to change the 'insert' text when input is checked?
Something like...
$('input').iCheck({
default_insert: 'Press me!',
checked_insert: 'Oh yeah!'
});
Thank you.
Until now, my solution is with CSS.
.iradio:before {
content: "Press me!"
}
.iradio.checked:before {
content: "Oh yeah!"
}
(And no 'insert' in iCheck function)
This method will be available in v2.
Don't work for me. But I'm doing something wrong. The label present in iCheck doesn't change. Can you show me how was your HTML structure?
Version 2 now has this feature available? Thanks!