How to clear the values in portlet


I have designed some portlets. Can any ne tell me how to refresh the page. Like i entered some values in text box, drop down etc. I want to clear all those fields.

Thanks in advance

check the autorefresh() action of the form you used, you can write the clear action on this event.