I have a situation where I need to restrict users from entering space in beginning of a TextBox. I am able to restrict space entry in TextBox. But not having any clues about not allowing at first position.
I am looking for a solution using JavaScript or jQuery. Any help would be appreciated.
$.trim('your.string')