title: How to validate username using Javascript?
body: <p>I want to know how can I validate using Javascript that if  user has entered any username at the time of creating an account is already present in database and ask user to type any other username? </p>