Can I select elements with a set of attribute values?
<p>Is there a way to refactor something like this:</p>

<pre><code>$("input[name='InputName1'],input[name='InputName2']").val("");
</code></pre>

<p>into something like this:</p>

<pre><code>$("input[name='InputName1|InputName2']").val("");
</code></pre>

<p>Essentially, is it possible to select elements based on a set of attribute values without the repetitive parts of the selector?</p>
