how to clear certain form fields with RJS?

I have a form, which when submitted updates certain page elements using RJS. Within the form, I have a few text fields, which I would like to clear upon submission. Can someone tell me what I would need to do to do this?