Ah, my mistake. I saw all the template.find() calls and didn't pay close enough attention.
OK, now it's clear that the problem is all the DOM manipulation inside the loop. (The performance of $.each() itself is the least of your worries.) You can easily speed this up by a factor of 10 or more by building up an HTML string instead of DOM manipulation. Can you share the content of your #TemplateRowLineItem and #TemplateRowMore elements? If I can see those I can suggest something more specific. Actually, it would help a LOT if you could put up a complete test page, that way I don't have to play 20 questions... ;-) -Mike > From: Coryt > Actually the data is being returned as json. > sample data:... > > From: Michael Geary > > Is there any possibility that you can get JSON data instead > > of XML? It will be *much* faster.