Author: SanjayAdsure | Posted on: 4/16/2009 5:14:36 AM | Views : 414

Hi All,

    I am working on registration page. I am accepting some general inputs from user. Like First Name, Middle Name, Last Name etc.

  Now what I want to do is:

1.  When user enters in textbox then while typing; first letter should be automatically come up as capital letter & next as small case letters. E.g. If I am typing my first name then while typing it should be Sanjay & not as sanjay or sAnjay.

2.  While typing in textbox user should not be allowed to enter white space in between the words like Sa jay this should not be happen. If user types like this I want to give an alert that something like please do not use space in between name.

I want to do this on client side with JavaScript. Could anybody please help me in this?

I am using VS 2008 & C#.

 Thanks,

 Sanjay.
...

Go to the complete details ...