Most people interpret it to mean "update with new content". Think
along the lines of a page refresh for just that element: wipe out the
existing content, update with new. Some others like yourself expect it
to mean "append with new content". That approach is handled by
Element#insert: preserve existing content, place new content at the
desired Position (usually appended, but insertion options are
available).

http://api.prototypejs.org/dom/element/insert/

This same question came up some months ago. Hopefully that
clarification helps.
-joe t.


On Jul 2, 5:24 am, Viktor Kojouharov <vkojouha...@gmail.com> wrote:
> This behaviour is a bit unexpected, and caused some debugging time to
> figure out why some elements were losing their storage. Why isn't this
> only done during page unload?

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en

Reply via email to