How to clear the advance search field to empty

Hi guy,

the advance search perform very well but how i can clean the field after the search is success. Pls give me some suggestion. how to write function to clear the field to empty when press button.

Thx.

Check out these posts

http://www.yiiframework.com/forum/index.php?/topic/14242-modifying-cgridviews-default-filtersearch-behaviour/page__p__70802#entry70802

http://www.yiiframework.com/forum/index.php?/topic/15717-reset-button-reloading-page/