ajax submit form

I have a CGridView and form on my page.

The form is genereated by mycontroller/myaction

When the form is filled I press "click here" link I need the page to refresh using ajax.

So, I need my form to be refreshed and my CGridView to be refrashed through ajax.

Also some other forms uses $(’#image-grid-view’).yiiGridView.update(‘image-grid-view’); to update CGridView, maybe I can use it here also…