Personalized Pink Hearts Puzzle * Any Name: maxlength) { sender.value = sender.value.substring(0, maxlength); } $(sender).next().html((maxlength – sender.value.length) + ‘ of ‘ + maxlength + ‘ remaining’); } ]]> Source