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 <[EMAIL PROTECTED]> 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to