Hi, i'm trying to solve this problem.
This is the scenario. I've created a form builder function build an ajax based form. When the page is loaded the ajax-form is correctly built. Also i've created a menu_hook() that handles the ajax requests and return json data. When i submit this form it works well and, as expected, the page is not reloaded. The callback function, at this point, create a new form (always an ajax-form) througth drupal_get_form() and put it above the first one. Now there's a problem. When i submit the second form, ajax features seems to be not enabled. The submit button reload the page (I can't see the throbber in action) . Also, inspectiong the html, action attributes of the new form is set to the callcback menu address.
I don't know if there's a better way to create ajax-forms througth ajax call. Also i suppose that the new form element have no events attched since it is created after the document is ready. Do you know a better way to handle this? Is there a way to tell drupal to re-bind the events after a new elements has been created?.
Thanks.