Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Javascript text counter for textarea, off by one number!?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36251
    JohnMotylJr
    Participant

    Howdy, so my text counter is off by one. How can i make the counter more accurate and be able to count when i hit the BACKSPACE button.

    Code:




    help!?





    Comments:





    words remaining.






    JS Fiddle Link:
    http://jsfiddle.net/john_motyl/y7qrs/1/

    Javascript / JQuery is not my strong suit so I really appreciate any feedback or advice. I watch my posts so any questions will be answered and comments will be replied to.

    Thank you.

    #95155
    Maikel
    Member
    #95156
    JohnMotylJr
    Participant

    @Maikel, thank you for that code. I see why it wasn’t counting when i would backspace.

    Again, thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.