Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if text input has spaces javascript

function hasWhiteSpace(s) {
  return s.indexOf(' ') >= 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #text #input #spaces #javascript
ADD COMMENT
Topic
Name
8+7 =