jquery-character-counter
jquery-character-counter copied to clipboard
Is it possible to update limit on the fly
Hello, I want change the limit based on user input. If user is uploading file along with writing text on textarea. His limit will be less but if he is not uploading file his limit will be more. Can it be done. Can we update limit later on. Thanks, Samir
This isn't possible right now.
I could look into adding it in.
I could use this enhancement. At least you should listen to any change. If we set the value of the textarea through $('textarea').val('Some String'); the count is not updated.
@BrainFeeder .val() doesn't trigger an event I can listen to.
You can do something like $('textarea').val('Some String').trigger('change');
This should re-count.
Ah, of course. I mixed up with the other input elements .. again. I had it working a few minutes after I commented my frustrations :)