How to write the condition to check the validation using jquery or javascript
<p>hello friends, </p>

<pre><code>        $('input[name=checkedRecordsCat]').attr('checked', true);
        $('input[name=checkedRecordsSubCat]').attr('checked', true);
        $('input[name=checkedRecordsAtta]').attr('checked', true);
        $('input[name=checkedRecordsTextComp]').attr('checked', true);
        $('input[name=checkedRecordsVariableText]').attr('checked', true);
        $('input[name=checkedRecordsFreeFormText]').attr('checked', true);
</code></pre>

<p>I have this in my page. i need to check if non of them are checked I need to show a popup message. atleast one check box checked I need do return true.</p>

<p>how to write this condition using jquery or javascript</p>

<p>thanks</p>
