Select an element by name with jQuery

You can use the attribute selector for selecting an element with its name.
For example if you have to select input with its name.