$(document).ready(function(){
$('textarea').limit('100','#charsLeft');
});
$('textarea').on('change',function(){
if (this.length>=10) $('checkbox').show();
});
$('textarea').keyup(function () {
if ($(this).val().length > 10) {
$('#checkbox').show();
}
}
$(function () {
$('.textarea').on('keyup', function () {
var l = this.value.length;
if (l > 100) {
$('.checkbox').show();
} else {
$('.checkbox').hide();
}
});
});
Find more questions by tags jQueryJavaScript