Check Radio based on label text
<p>I have the following HTML:</p>

<pre><code>&lt;input type="radio" value="213490" id="lt_1133041_213490" name="lt_1133041[]"&gt;
&lt;label for="lt_1133041_213490"&gt;LH License&lt;/label&gt;
&lt;input type="radio" value="213491" id="lt_1133041_213491" name="lt_1133041[]"&gt;
&lt;label for="lt_1133041_213491"&gt;PC License&lt;/label&gt;
</code></pre>

<p>What I need to do is to be able to check the radio based on the label text, so if I pass "LH License" it will check id lt_1133041_213490, if I pass "PC License", it will check id lt_1133041_213491.</p>

<p>Not sure exactly how to do that.</p>
