I am having problems highlighting the checkboxes and radio buttons that have been selected. Running .css("border", "1px solid red")or .css("background-color", "yellow")not working.
Besides the default checkbox or the filled radio button, I need to determine that these checkboxes or radio buttons were clicked, highlighting it somehow.
HTML examples
<input type="radio" title="search" value="T" name="srchType">
<input type="checkbox" value="1" name="option1">
source
share