I recently discovered that Element.update/insert automatically call an
object's toElement method if it exists, which would be pretty
handy...except that when a DocumentFragment is returned, it inserts
"[ object DocumentFragment ]".

Is there any reason this shouldn't work?  It seems that if you're
calling a method to return the contents of a containing element, it'd
be MORE likely that you'd need to return a collection of elements
rather than a single element, and the way to do that is by returning a
DocumentFragment object.

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

Reply via email to