How to check whether checkbox in particular DIV is checked or not?
<div id="TeddyTab">
<input type="checkbox" id="bla" />
<input type="checkbox" id="bla1" />
<input type="checkbox" id="bla2" />
</div>
JQuery?
$(':checked').each(function() {
if(this.checked === 'true')
$(this).closest('div').next('div').find('textarea').prop('readonly',false);
});
The above jquery checkes everything n page which i do not want. I want to check in above div only?