Hi,
Suppose the following HTML div container
<div id="container">
<form>
<div>
<label class="error">Name</label>
<input type="text" name="name"/>
</div>
<div>
<label>Age</label>
<input type="text" name="age"/>
</div>
</form>
</div>
How can i check whether any child of container div has an error class by using JQuery ?