How to select an element by name in jQuery

It's very easy to select element by name in jQuery, please take a look at the following HTML code snippet: There are input elements with the name attribute set to "first-name", "last-name", "email" values. This is a good example of a simple user registration form and is a very popular case in web development. Now, …