I've created some jQuery which remove many tr rows from my table and
inserts new via AJAX. This indicate that the page is scrolling because
first the table increase after elements is removed and afterwards it
grows when the new content is inserted. Is there a way to let jQuery
update this table without doing so? Eg. by first refreshing the DOM
after I finish my manipulation.

Here is a bit of my code:

        $j(".bookingViewRow").each(function() {
                $j(this).remove();
        });

        $j.get('cajax.php', {}, function(html) {
                $j("#bookingView").append(html);
        });

Please tell me if you don't understand my problem!

Reply via email to