Help with Selectors Attribute Contains
Hello, I'm new to jquery...and extreamly stuck. I have a textfield that if contains a specific value, it would add a css style to a checkbox located on the form. I got this working but adds the css on the textfield that contains the word. For example
jQuery("#caserecordcharge_1r[value*='Guilty']").css("border","3px solid red");
but wanted the style applied to the checkbox with id #Checkbox4c1 if #caserecordcharge_1r had the value 'Guilty'