IMHO this happens because you make connections between objects of different windows (opener and popup): arrXXX in popup window points to objects from opener, opener element attributes point to strings/functions belonging to particular popup window (which is really closed). Array in opener window != Array in each popup window, and object references between different windows are OK only while both windows exist.
Try to return single result from popup and make everything in code of opener window. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/YGK3VG3pOgkJ. To post to this group, send email to email@example.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.