title: Check whether the first character is a space
body: <p>How can I check if the first character of the input field is an empty space or not with jQuery? I would need to check so that users can't enter a username like " rreea". Empty spaces <em>after</em> the first character are allowed. For example, "his name" is okay, but " his name" or " hisname" are not accepted.</p>