$("div[id]") Select all containing id Properties of the div The element
$("input[name='newsletter']") Select all name Attribute is equal to the 'newsletter' the input The element
$("input[name!='newsletter']") Select all name Property is not equal to 'newsletter' the input The element
$("input[name^='news']") Select all name Attribute to 'news' At the beginning of input The element
$("input[name$='news']") Select all name Attribute to 'news' At the end of the input The element
$("input[name*='man']") Select all name Attribute contains 'news' the input The element
$("input[id][name$='man']") Multiple properties can be used for joint selection, and the selector is to get all the contains id Attribute and then attribute by man Ending element