Hi Joel,

Very strange.
I am very new with jQuery so I can not help you.
But using firegug I can see that by clicking to load you are loading
hundreds times the page.
Hope this can help,

Alex

On Oct 23, 12:02 am, Joel S <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm fairly new to jQuery, but have been playing with it for a couple
> months.  This is my first post here.
>
> I've got a page with a <table> where each cell has a div that gets
> reloaded using load().  Each page that gets loaded into its cell also
> needs to be able to reload -- preferably multiple/infinite times.
>
> What I'm finding, however, is that after a few loads, the performance
> degrades pretty significantly.  Is this an unavoidable side-effect of
> reloading jquery multiple times on the same page?  Or is there a
> better way to do this so that this doesn't happen?
>
> I searched this list and found a thread from Sept '06 that said:
> "multiple HTTP-Requests <snip> increases the overhead."  Is that what
> I'm up against?
>
> WHAT I'VE GOT:
> - On my main page:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> $(document).ready(function() {
>         $('a').click(function(){
>                 $(this).parents(".cell").load("load.html");
>         });});
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> - My called/loaded page in its entirety is this:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> <p><a href="#">LOADED page</a></p>
> <script type="text/javascript" charset="utf-8">
>         $('a').click(function(){
>                 $(this).parents(".cell").load("load.html");
>         });
> </script>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I've got a demo page if that would be helpful, at:
> jsfmp<dotcom>/jquery/ajaxtable.html
>
> TIA,
> -Joel

Reply via email to