Here's the situation.

I have a search form field input that opens the search in a new window.

When you close the search window and return to the parent window the text you entered for your search stays in the input field, and I would like to know how to have this clear when you submit your search so that when you return to the parent page the text field is clear.

Hopefully this is understandable.

Thank you in advance for any help.