4
rated 0 times
[
11]
[
7]
/ answers: 1 / hits: 23853
/ 12 Years ago, tue, november 13, 2012, 12:00:00
I know I can use the following to check if a string is empty in JavaScript:
if(Message != '')
How would I check to see if a string 'Message' in this case - is empty and doesn't contain a number of spaces. eg:
' '
would I need to use regular expressions?
More From » jquery