$.validator.addMethod()
<p>I have a dropdownlist </p>

<pre><code>$.validator.addMethod("ddlNames", function (value) {
        if ($("#NameList.val()=="-1") 
        {
            return false;
        }
        else 
        {
            return true;
                }        

    }, "Please select a valid Name");
</code></pre>

<p>This validation is going fine. But when i change the dropdown value (valid selection ) the error message occured previously its stil displayed. Please can any one help me out?</p>

<p>thanks </p>
