[jQuery] empty() is very slow

2009-08-26 Thread oleOhle
While writing my first jQuery application I encountered a performance issue whichs casts doubts on the suitability of jQuery for my purposes in general. The "issue": In my page I have a dynamically filled which in the end contains about 10 elements, one of which is a table with 1000 rows. Now wh

[jQuery] empty() is faking ?

2009-05-04 Thread Olivier Percebois-Garve
Hi I'm puzzled with this : http://pastebin.me/49fef93928aff (in firebug click on the jquery object, then expand "0") Using empty() or remove() on the lis of a ul, it seems that jQuery is "faking" to remove them, i.e the lis will not be accessible by jQuery anymore, but in reality the childno

[jQuery] empty() textarea when hidden before not work. NEWBIE

2008-12-17 Thread tlob
Hi I like to empty() specific textareas. Works fine. Except the textareas, that are hidden before. http://www.vum.ch/thomas/post/1-3.html it works in Safari, but not in FF I have no clue why. cheers tl

[jQuery] empty().append() slow

2008-11-06 Thread jquertil
if I have a lot of elements inside ... and then do $('.full').empty().append ('blah'); it takes a long time. Is there a way to speed that up?

[jQuery] empty() manipulation problem

2008-10-31 Thread KyleK
Hello, I'm trying to use the empty() method to clear a page and print something new. It works fine in Firefox, but has a problem in Safari. Whenever I use the method in Safari, it does what it's supposed to do and then reloads the page immediately on its own. How can I prevent it from doing that?

[jQuery] Empty

2008-10-28 Thread shapper
Hi, I have the following on a JQuery Code: $('').appendTo('#Themes') .append(subject) .append('') .append(levels) .append('') How can I add .append(subject) .append('') only if subject is not empty and .append(levels) .append('') only if levels is not empty? Leve

[jQuery] empty class return undefined .. bug ?

2008-05-11 Thread Adwin Wijaya
I have code .. to check what class in every id .. i found that if the class="", attr will return undefined ... example: className = $('#myid').attr('class'); I use Jquery 1.2.4b from ui.jquery.com is it the bug or it is the correct result from attr() ?

[jQuery] :empty pseudo-class and whitespaces

2007-12-03 Thread Christoph Roeder
Hello, I think the :empty pseudo-class has a bug, the docs are wrong or I misunderstood the docs. The Problem is, that :empty only matches elements when they really have no children, incl. textnodes with whitespaces or newlines. http://docs.jquery.com/Selectors/empty > Matches all elements that