how do I apply css to parent if his child have a certain class?
for example:
<p>
<span class="validationMessage">Last Name is required field</span>
</p>
I want to give the p tag css base on that the his child element has class called "validationMessage"
$('p').has('.validationMessage')? api.jquery.com/category/traversing/#post-255