$("div[id]") div element
$("input[name='newsletter']") Select all input elements whose name attribute is equal to 'newsletter'
$("input[name!='newsletter']") Select all input elements whose name attribute is not equal to 'newsletter'
$("input[name^='news']") Select all input elements whose name attribute starts with 'news'
$ ("input[name$='news']") Select all input elements whose name attribute ends with 'news'
$("input[name*='man']") Select all input elements whose name attribute contains ' The input element of news'
$("input[id][name$='man']") can use multiple attributes for joint selection. This selector gets all the attributes containing the id and then attributes Elements ending with man