Replacing table body + ajax



I have a form with a remote_form_tag that is supposed to replace the
of a table ie tbody tag. Somehow I am missing something trivial and
nothing is
happening on the table. Imaging a filter form that filters out the table
when the user submit the form.

Does anyone has some working code that does something like that or
could point me out to some docs ?

Thank you all !!