showing results for - "how to check if text input has spaces javascript"
Nicolás
28 Jul 2017
1function hasWhiteSpace(s) {
2  return s.indexOf(' ') >= 0;
3}
4