jquery-simply-countable
jquery-simply-countable copied to clipboard
jQuery plugin that provides a character counter for any text input or textarea.
Safe/Over Class & onSafeCount not working with strictMax set to true. My Code: $(this).simplyCountable({ counter: $msgElem, countType: 'words', maxCount: 5, strictMax: true, safeClass: 'is--safe', overClass: 'is--over', countDirection: 'down', onSafeCount: function(count,...
There is bug in FF, Chrome when linebreak is treated as 1 symbol when it's actually 2 symbols. Because of this bug with such configuration: ``` ff f ``` browser...
Just as simple as that the counter is off by the number of line breaks you enter.
By adding the input event, all html5 supported browsers will now get better real-time events, for example when holding down a key.
the character counter does not work on copy/cut paste mouse events. your response is highly appreciable Regards, Muhammad Hisham
Currently, the counter only updates on keyup, blur, or paste events. So when you set the value using javascript, the counter doesn't change. My current workaround is to manually trigger...
Can you please add the ability to use data attributes on the element ( input or textarea ) ? It's really very helpfull to get working the plugin juste using...
Review with https://github.com/aaronrussell/jquery-simply-countable/pull/39/files?w=1
``` A - 2A + B ``` is the same as ``` -A + B ``` is the same as ``` B - A ```
hello, I would like to know how to change the position of the countable because I would like to have this on the bottom of my text area. Thanks