Giter Site home page Giter Site logo

jquery-character-counter's People

Contributors

bteitelb avatar darrentaytay avatar wardtwits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jquery-character-counter's Issues

Error in IE8

The following error is thrown when calling the characterCounter() in IE8 (e.g. $('#textareaID').characterCounter({ ...options... }) ):

Expected identifier
Object doesn't support this property or method

I'm not sure if you are aiming to support IE8 as I couldn't see any supported browser details, so I'm not sure if this is really a problem. I've tried to identify which property or method is the offender but have been unable to find it thus far. Hopefully someone else more knowledgeable than me might be able to figure it out.

Licensing?

I just noticed that this plugin has no license file at all. Can you please add a license to this project?

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

Doesn't work on input field

Hi,
Not sure if this is a bug or simply never implemented. This plugin doesn't work on input fileds.
Is there solution/hack to allow me to use it on input fields as well?
Thanks a lot.

Support multiple counters on one page

I have a form that has over 20 fields on it that need to have a character counter displayed.

Calling $("textarea").characterCounter(); results in each textarea getting a counter, but they all share the same value.

Same issue if I attach characterCounter() to two different ids.

It would be awesome if this supported the ability to add counters for multiple fields on one page.

Custom classes

counterCssClass option can only be used to override the counter classes. However, it would be useful to be able to add custom classes to the element instead of overriding the one and only class that is available right now

semantic versioning

Hi,

Can you add semantic version to the file? Now it says 1.x, a old version I have says 1.0.

Should be something like 1.0.1, 1.2.0 etc etc.

Thanks!

Conflict when using jquery validate

Take a look at my example, the counter works fine unless you hit submit and validation error fires, the counter stops working after the first error occurs on a field

http://jsfiddle.net/4k1vokgv/1/

try typing in the first textarea and hit submit, notice the first textarea's counter still will work, but the second textarea counter will not work even if validation is ok

I am just trying to figure out the conflict or the event that is halting the counter

Reset counter

Hi,

Is there a callback to reset / refresh the counter?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.