Hi
I m using javascript in HTML. I want to know how to validate the text entered in a textbox (for empty strings). My requirement is that my code should not allow empty text (not even spaces -trailing n leading). I have used some code which is checking only wen v do not enter any text. But its not validating when v enter some number of blank spaces.Please help .
Thanks
daitasri
I m using javascript in HTML. I want to know how to validate the text entered in a textbox (for empty strings). My requirement is that my code should not allow empty text (not even spaces -trailing n leading). I have used some code which is checking only wen v do not enter any text. But its not validating when v enter some number of blank spaces.Please help .
Thanks
daitasri
Comment