How to select multiple elements by id using jQuery
<p>I have two radio buttons:</p>

<pre><code>&lt;p&gt;
    &lt;label for="input_1"&gt;Path to Excellent &lt;/label&gt; 
    &lt;input id="input_1" name="radio" type="radio" value="1" /&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;label for="input_2"&gt;Award of Excellence&lt;/label&gt; 
    &lt;input id="input_2" name="radio" type="radio" value="2" /&gt;
&lt;/p&gt;
</code></pre>

<p>I would like to get val() from one of them using their ids: "input_1" or "input_2" by jQuery, something like this: </p>

<pre><code>$('input[#input_1,#input_2]:checked').val();
</code></pre>

<p>My aim is to get val() from one of them that is checked, by id. How can I do this? </p>