How to check whether the input text field contains only white spaces?
<p>What is the easiest way to check in Javascript whether the input text field is empty (contains nothing or white spaces only)?</p>
