Jquery custom rule dynamically added
<p>I have a custom rule:</p>

<pre><code>jQuery.validator.addMethod("greaterThanStartPrice", function(value, element, param) {
return this.optional(element) || (parseFloat(value) &gt; $(param).val());
}, "\"Reserve Price\" must be greater than \"Start Price\"");
</code></pre>

<p>to check that a value entered into input box b is greater than input box a. This rule works great however the form field it is applied to is dynamic so I also have:</p>

<pre><code>$("#txtReservePrice").rules("remove");
</code></pre>

<p>to remove the rule. The rule is initiated:</p>

<pre><code>$("#frmEditListingAuction").validate({
    meta: "validate",
    rules : {
        txtReservePrice:{ 
            greaterThanStartPrice:"#txtStartPrice",
        }
    }
});
</code></pre>

<p>I am having trouble re-adding the rule back on. I have tried:</p>

<pre><code>$("#txtReservePrice").rules("add", "greaterThanStartPrice");
$("#txtStartPrice").rules("add", "greaterThanStartPrice");
</code></pre>

<p>but apart from that I am a little lost. Many thanks</p>
