Any thoughts about my situation?
I am almost sure this problem exists, maybe someone had the same in
the past?
On Sep 24, 10:39 am, ysubach
<ysub...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello
>
> I have following code in my project and it''s a question for me if
it
> causesmemoryleaksin IE.
>
> pagePart = getSearchResult(); // retrieve part of the page w/ search
> result from server
> $(''container'').update(pagePart);
> $$(''#container a'').each(function(a) {
> Event.observe(a, ''click'', ...); // handlers for link
clicks
>
> });
>
> As you see it just takes some html code from server, update container
> and attach click listeners to each link inside container. This code
> executed each time user want to search for something. Does this mean
> that all event handlers attached to links are stay in
browser''smemory
> until page closed?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---