Works fine for me too (5000 elements). jQuery v1.2.1 Win XP : FF 2.0.0.10, IE7, Safari 3. Opera 9.23 acts up on double clicks, showing context menu and then incrementally selecting the span, the line, document below, whole document, etc, but it's a case of getting the double click to register, rather than any delay in appending to body.
On Nov 28, 3:05 pm, Suni <[EMAIL PROTECTED]> wrote: > Im sorry to let you know: > > I just tested with your exact code (creating 5000 siteSelector span- > elements with PHP) and it still works fine for me, the message gets > appended immediately. Tested with jquery 1.2.1. > > I suggest you first try with another completely different computer. It > may sound far fetched but I've seen Norton antivirus insert funky js- > stuff to some pages, which is one of the reasons I'd encourage > everyone to stay away from it. The problem could also be caused by > some extensions, but that would limit the problem to FF only, which > doesn't seem to be the case. > > The server should have no effect whatsoever to how this works, unless > it is inserting something in the HTML or JS not seen above. > > Anyone else care to test this? You can quickly insert 5000 spans with > php: > > <?php > for($i=1;$i<5000;$i++) > { > ?> > <span class="siteSelector" id="s<?php echo $i; > ?>"><?php echo $i; ?></span> > > <?php > } > ?>