how to prevent spaces from being counted at the start of a keyup in the text area with jquery?

前端 未结 0 1733
广开言路
广开言路 2020-12-16 02:36

like twitter, when the textarea is blank and only spaces are typed, the spaces are not counted, but after the first letter is typed, the spaces are counted.

in this s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题