Forum: Ruby on Rails Refresh a list

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C4bfcc81ac9281cb905f38e97e4d4e0b?d=identicon&s=25 Shandy Nantz (snantz)
on 2007-07-03 20:54
I now have things being deleted dynamically from a list. The problem now
is that when I add something to that list it hits the database getting
all the correct users and the things associated with those users.
However, some of the items are duplicated because the list is not being
cleared when something is added and the new list generated. Is there a
way to clear everything that is in a div with an id so I can re-populate
that div with new information?
C4bfcc81ac9281cb905f38e97e4d4e0b?d=identicon&s=25 Shandy Nantz (snantz)
on 2007-07-05 16:31
I figured it out. In the remote_form_tag that I was using I had the
option for :position =>'bottom'. I left that out and the form and
everything displayed correctly without any duplicated information.
This topic is locked and can not be replied to.