开发者

jqEasyCounter plugin - how to ignore the "(white) spaces"

开发者 https://www.devze.com 2023-03-20 06:39 出处:网络
Working on the textarea with jqEasyCounter plugin. The textarea is de开发者_开发问答signed as the twitter style - 140 characters, so I use the plugin for user friendly notification.

Working on the textarea with jqEasyCounter plugin.

The textarea is de开发者_开发问答signed as the twitter style - 140 characters, so I use the plugin for user friendly notification.

My trouble is all the spaces are counted.

Does anyone has a clue? thanks heaps


Spaces have to be counted. If you stop counting spaces from a textarea - you are counting the wrong amount of letters. As result you will have problems with saving the field into a database table.

0

精彩评论

暂无评论...
验证码 换一张
取 消