Highlighting checkboxes and radio buttons using jQuery.
<p>I am having some trouble highlighting checkboxes and radio buttons that have been selected. Doing <code>.css("border", "1px solid red")</code> or <code>.css("background-color", "yellow")</code> doesn't seem to be working.</p>

<p>Other than the default checkmark or filled radio button, I need a way to identify that those checkboxes or radio buttons have been clicked by highlighting it somehow.</p>

<p>HTML examples</p>

<pre><code>&lt;input type="radio" title="search" value="T" name="srchType"&gt;
&lt;input type="checkbox" value="1" name="option1"&gt;
</code></pre>
