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?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---