How to hide errorSummary messages


when i click save button it displays the errorsummary in the top.

now i want to disable this errorsummary on clicking any dropdownlist or changing any textbox value,

how is possible

You can do that with jquery. To select only specific dropdownlists/textboxes, you could add a class like "hidesSummary" to them. Then simply:

Yii::app()->clientScript->registerScript('initHideSummary', <<<EOT

     $('.hidesSummary').click(function() {





Thanks Mike

it works