Trying to write the number of characters remaining under one of the texts. When I add a lot of newlines, the following script does not work as expected: When too many are newline, the script reports more characters Available when I have not been able to write anything \ r \ n just trying to replace with \ n and then taking no advantage of the length of the string. What's wrong? :) EDIT: Only Chrome (latest - 27.0.1453.116) does not work as expected
$ ('$ textarea'). Maxlength ({always show : True, pretext: 'remaining characters:', post text: ''});
No comments:
Post a Comment