Question and answer is powered by AnsPress.io
If the user enters only blank space from starting content then content will be verified. If first later not a string/alpha then it will display an error message.
Not valid Data:
var myText=" lorem ipsum";
Valid Data:
var myText="lorem ipsum";