Char Counter limiter Copy Paste

Last post 08-17-2009 4:36 AM by prasadP. 1 replies.

Sort Posts:

  • Char Counter limiter Copy Paste

    08-17-2009, 3:50 AM
    • Member
      12 point Member
    • SilentStorm
    • Member since 05-27-2009, 8:01 AM
    • Posts 45
    I have a textbox with a char counter on a web page (using the example it found here: http://www.smartwebby.com/DHTML/textbox_characters_counter.asp ) If someone types in normal text it works and will refuse to add any extra chars. However if someone copy pastes a text that is longer than the MaxChars the limit will no longer work(note the original that is copied is not in the textbox but in a seperate entity(eg. Notepad)). Any ideas how to solve this problem.
  • Re: Char Counter limiter Copy Paste

    08-17-2009, 4:36 AM
    Answer
    • Participant
      1,782 point Participant
    • prasadP
    • Member since 07-10-2008, 7:17 AM
    • Pune,India
    • Posts 267

    Hi Friend,

    Try to add this      onblur="return taLimit(this)" 

     and check i think this will work.

    prasadP

    Please mark as answer if this reply is helpful...
Page 1 of 1 (2 items)