Response title
This is preview!
<div id="tab0">
<div id="identity_form" class="standardForm" name="identity" method="post" action="/credentials.php">
<div class="fields_container">
<div class="field">
<label for="FirstName"><span class="asterisk">*</span>First Name</label>
<input type="text" class="" id="FirstName" name="FirstName" maxlength="48" value="" />
</div>
$(".someDiv .someSpan:parent(:has(input:checked))").addClass("hasSelectedCB");
the problem is that jQuery has :has, :parent but it doesn't have something like :sibling, I will have to use + operator..
question: How can I use the '+' sibling operator in conjunction with functions like .find() etc
Description: Select all elements that are the parent of another element, including text nodes.
© 2013 jQuery Foundation
Sponsored by and others.