I have a table in a view of my ruby on rails application which shows records from a database table. The first row of the table contains a table name and buttons to scroll left and right through the pages. The second row contains a form which lets me build up a filter string to use as the '':condition'' parameter of the paginate function in the controller. The third row contains the column headers All subsequent rows contain the data rows. My problem is this. I initally wrote the table without using Ajax so that when the user enters the filter and hits submit the whole page is refreshed with the table only containing records which match the filter. That all worked fine but I wanted to use Ajax to only refresh the table instead of the whole page. So I wrapped the whole table inside a div with an id of ''table_container'' and then used form_remote_tag instead of form_tag with :update=>''table_container'' specified. In internet explorer this all works. When I specify a filter and hit submit the whole table is replaced. In Firefox however it only works the first time. Once I have entered a filter and hit submit the form is updated correctly only showing the filtered rows but the submit button no longer does anything after that. I can press it as often as I like and nothing happens. I have looked at the source for the page both before hitting submit the first time (which works) and before hitting submit the second time (which doesn''t work). The html and javascript are identical but for some reason in Firefox the submit button does not work after the Ajax routine has been called once. Is this because the form is within the area I am updating ? Or is this a bug in Firefox ? Any pointers or examples of other people doing something similar would be much appreciated. Many thanks, David Coales _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails