How to check if a user input text is all white space characters (space, tab, enter etc) in client side?
This question is tagged with jQuery. In jQuery, you can run the following:
if ( $.trim( $('#myInput').val() ) == '' ) alert('input is blank');