Resmi Satish

Resmi Satish

  • NA
  • 110
  • 73.3k

Restrict multiple entry of space

Jun 18 2014 4:36 AM
I am having a text box . I have to restrict user from entering multiple space in the beginning of the text box.

eg:
1.abc d e (Should allow)

2.$$$abc(Should not allow.Here $ I have put to represent space character)

And also should also validate if the user is entering space character only(multiple times also)


Please help me how to resolve this using jquery.

Answers (2)