I have one last remaining problem to solve before I’m code complete on
an application I’ve been working on for a few months, and I need your
I have a page that contains a list of entries and a form at the top
that uses form_remote_tag to allow users to add new entries via AJAX.
When the user submits the form, the list of entries is updated from
the controller using render :update and the same partial that was used
to initially render the page. The entries in the list are draggable,
at least they are BEFORE the entry list is updated as a result of AJAX
After the AJAX call is complete, the list entries are no longer
draggable. I am using jQuery and Prototype, jQuery for the drag and
generates the list of entries, after a form submit, the entries are
still draggable, but that has its own set of problems and i don’t want
to do that.
Why would the drag and drop no longer work after the AJAX call when
I’m using the same partial that was used to render the page when all
I tried as an alternate solution using :update as part of the
form_remote_tag in the view but that didn’t work either.
Any help solving this last problem would be greatly appreciated.