Javascript disable hidden .net validators

A quick javascript function to disable hidden .net validators involves iterating through all validators in the page, and enabling/disabling them based on whether or not they are visible. This snippet has come in handy for me many times. Define the function below and call DisableHiddenValidators() on document.ready().

This entry was posted in it and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>