[attributeFilter1][attributeFilter2][attributeFilterN]

匹配满足所有这些属性选择器的元素。

示例:

查找那些有 id 属性,并且 name 属性以 man 结尾的输入框,并设置文本值。

<!DOCTYPE html>
<html>
<head>
<script src="jquery.min.js"></script>
</head>
<body>

<input id="man-news" name="man-news" />

  <input name="milkman" />
  <input id="letterman" name="new-letterman" />
  <input name="newmilk" />

<script>

$('input[id][name$="man"]').val('only this one');

</script>
</body>
</html>
演示: