[jQuery] Re: Callback after append?

2007-07-25 Thread Matt Stith
Thats right, the only things that need a callback are ajax and animations (unless im missing something) On 7/25/07, Klaus Hartl [EMAIL PROTECTED] wrote: juliandormon wrote: I'm adding html into a div using append. I want to update my custom scrollbar plugin which is in a parent div after

[jQuery] Re: Callback after append?

2007-07-25 Thread Mike Alsup
Julian, have you tried this? $(#childDiv).append('mygreatHTML').parent().updateScrollBar(); $(#childDiv).append('mygreatHTML',function(){$(#parentDiv).updateScrollBar()})

[jQuery] Re: Callback after append?

2007-07-25 Thread juliandormon
I did not know that. That worked great! Klaus Hartl wrote: juliandormon wrote: I'm adding html into a div using append. I want to update my custom scrollbar plugin which is in a parent div after the append has completed loading to accommodate the new height of the content in the