[jQuery] Re: Is there a more efficient Method.

2009-09-01 Thread Kenneth Farmer
That might work. You could bind each child div with a custom event that would have it update itself from the passed in data. Then you could just trigger the event for that parent element. It would be interesting to see if it's faster since it doesn't have to search for the child selectors each tim

[jQuery] Re: Is there a more efficient Method.

2009-09-01 Thread MorningZ
maybe: $("#C2 > div").each(function() { $(this).html("" + data["Data" + this.className]); } untested, but it seems like it would work fine *as long* as the only class applied to those children 's is that single letter or what not On Sep 1, 11:52 am, Keo wrote: > Hello,  I use Jquery on a web