开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜