[jQuery] Re: Very slow find

2009-03-24 Thread Martin Tiršel
Thanks very much, this way it takes 2 seconds (with load and rendering), what is better I was expecting On this project, I totally ignore IE (I am using some newer technologies available only in "normal" browsers), it is not a common website but a web-based application for a specific gro

[jQuery] Re: Very slow find

2009-03-24 Thread Michael Geary
> From: Martin Tiršel > I need to hold some things in memory for later use, so pure > html is not ideal. I will try JSON, if it will be under 5-7 > seconds for 500 items, it should be ok. In fact, you can get it much faster than that, even in IE. Let's assume your JSON data is an exact mirror

[jQuery] Re: Very slow find

2009-03-24 Thread Martin Tiršel
I need to hold some things in memory for later use, so pure html is not ideal. I will try JSON, if it will be under 5-7 seconds for 500 items, it should be ok. Thanks On Tue, 24 Mar 2009 06:01:33 +0100, Michael Geary wrote: If you are free to change the XML format, are you free to cha

[jQuery] Re: Very slow find

2009-03-23 Thread Michael Geary
If you are free to change the XML format, are you free to change it completely? Could you change it to HTML instead, and format the HTML in the same way that you are doing in JavaScript now? Then you could simply use $('#content_window_pages').load(...); and it would be very fast. Or you could u

[jQuery] Re: Very slow find

2009-03-23 Thread James
Read through this post to help speed up DOM inserts: http://www.learningjquery.com/2009/03/43439-reasons-to-use-append-correctly On Mar 23, 3:46 pm, Martin Tiršel wrote: > Hello, > > I get XML answer from server with ~5k lines and I need to parse this data   > into the table and display in HTML.