Example 1 — Official input[id][name$='man']
Set a value only when both filters pass (official demo idea, CSS-free).
$("input[id][name$='man']").val("only this one"); How It Works
- Presence.
[id]requires an id attribute. - Suffix.
[name$='man']requires the name to end with man. - AND. Both must be true for the same input.

