Clear Text Feilds

hye to all, How to clear all the text box and text area in the form When pressing ENTER key using YII…? And how to redirect the page in ENTER key?

Please help me out!!!!!!

Sounds like a javascript thing. Try to get a handle of the form and use javascript’s reset function to reset your form. If you want to clear only certain fields, then you can do that with jquery