How to check whether the input text field contains only white spaces ?

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-18T12:40:47Z Indexed on 2010/04/18 12:43 UTC
Read the original article Hit count: 235

Filed under:

What is the most easiest way to check in Javascript whether the input text field is empty (contains nothing or white spaces only) ?

© Stack Overflow or respective owner

Related posts about JavaScript