How to validate multiple dropdown list using jquery?
<p>I am trying to validate two checkbox lists in my usercontrole.after some googling i am able to validate my first checkbox list.code is given below</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;

function ValidateChkList(source, arguments) {

    arguments.IsValid = IsCheckBoxChecked() ? true : false;
}
function IsCheckBoxChecked() {
    var isChecked = false;
    var list = document.getElementById('&lt;%= cblJobType.ClientID %&gt;');

    if (list != null) {
        for (var i = 0; i &lt; list.rows.length; i++) {
            for (var j = 0; j &lt; list.rows[i].cells.length; j++) {
                var listControl = list.rows[i].cells[j].childNodes[0];
                if (listControl.checked) {
                    isChecked = true;
                }
            }
        }
    }
    return isChecked;
}
</code></pre>

<p></p>

<pre><code>&lt;asp:CustomValidator ID="cvJobType" ClientValidationFunction="ValidateChkList" CssClass="error"
                                        SetFocusOnError="True" ValidationGroup="step1" runat="server"&gt;&lt;/asp:CustomValidator&gt;
</code></pre>

<p>but when i try the same on second one both are not working.can any one help me..</p>
