[jQuery] DOM manipulation

2009-04-01 Thread gryzzly
Hello. Let's say I have $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll(''); }); then I want to access newly inserted to the DOM div with class wrapper and do something with it; $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll(''); $('.wrapper').h

[jQuery] DOM manipulation slow

2008-10-16 Thread Nick
Hi all, This is my first post here because I can almost always find some help in Google from someone who has had a similar problem to mine... but this time is different. I am using the code from Remy Sharp's gallery slider found here: http://jqueryfordesigners.com/slider-gallery/ I am loading l

[jQuery] Dom manipulation with frames leaking divs

2008-03-10 Thread Zak
Take a look at the simple example below. The following divs are reported as leaked by Drip -- div. These divs are not from my code but I did notice them in a function called "clean" in jquery core.js file1.htm >> src: frame.htm >> src:

[jQuery] Re: JQuery DOM manipulation: memory leaks?

2007-05-31 Thread Brandon Aaron
I think I just fixed this leak in revision [2010] of jQuery. It had to do with the global cache of events. Please grab the latest from SVN to see if that fixes the issue. -- Brandon Aaron On 5/31/07, Ruchi <[EMAIL PROTECTED]> wrote: Hi, I'm a JS and JQuery newbie and I'm trying to resolve a

[jQuery] Re: JQuery DOM manipulation: memory leaks?

2007-05-31 Thread Benjamin Sterling
Ruchi, My suggestion would to something like: childDiv.unbind('click').remove(); parentDiv.unbind('click').remove(); If I am understanding how memory leaks happen, that code should help. On 5/31/07, Ruchi <[EMAIL PROTECTED]> wrote: Hi, I'm a JS and JQuery newbie and I'm trying to

[jQuery] JQuery DOM manipulation: memory leaks?

2007-05-31 Thread Ruchi
Hi, I'm a JS and JQuery newbie and I'm trying to resolve a memory leak that comes in IE for my code. Basically, I add elements to the DOM dynamically based on a list of items that I receive from a backend server. I used JQuery to create the list dynamically but noticed that the memory taken by IE

[jQuery] DOM manipulation white space issues

2007-04-23 Thread Ariel Jakobovits
I am experiencing spacing issues with my divs that is apparently fixed when I delete white space between DIV's using firebug. is there a CSS way around this? do we need a trim functionality added to append() and such?