What happens if rules are applied multiple time to a form <p>This is more of a generic question, please remove it if this is not a correct platform.</p> <p>My question is what happens if rules are applied to html form multiple time. like every time user clicks on button if rules are applied what will be the impact.</p> <p>I am pretty sure such things won't happen but in case if we do that will browser go for a memory leak.?</p> <p>Below is a sample validaiton.</p> <pre><code> $("#fromValidate").validate({ rules: { txtName: { required: true } }, messages: { txtName: { required: "Please Enter Name." } }, ignore: [] }); </code></pre> <p>If above rules are called everytime user clicks the button what will be the impact?</p>