[jQuery] Re: $.append(html, callback); ?

2007-12-16 Thread Eric Teubert
Thank you for the answer, I am quite sure to know the main spot now. The eleID-Tag is affected by the following class: .window { border-collapse:collapse; position:absolute; top:-1px; left:-1px; display:none; max-width:500px; } This is bec

[jQuery] Re: $.append(html, callback); ?

2007-12-16 Thread Eric Teubert
Hi, very good question - I didn't even think about it. What I could not believe: the box has always been up to date, in any case! With that in mind I searched for other issues and about 5 minutes later I got it: "display:none". I hide my elements until they are completely loaded and set them to "

[jQuery] Re: $.append(html, callback); ?

2007-12-15 Thread Richard D. Worth
The two functions you have chained (empty, append) are both synchronous, so the next line shouldn't execute until they are done. You say it sometimes works, sometime not. When it doesn't work, is .message .content empty? or does it have the old/not yet updated content? - Richard On Dec 14, 2007 2