alexfrumkin
Programmer
I need to check if the input type text is empty. I can check for emtpy string like in form.txtName.value=="", but what if someone enters a space or two into it? in VB I would do trim(form.txtName.value)=""; How do do it using Javascript?<br><br>Thank you for your time and effort.<br><br>Alex