$('#textarea').bind('input propertychange', function(){ var length = $("#textarea").val().length; console.log(length); });