The html function is synchronis, it should be done before it returns. What isn't working about it? Could you setup a sample page, or include a complete example of the code that you're using?
--Erik On 6/26/07, Trav Johnston <[EMAIL PROTECTED]> wrote:
Hi, I need to find the height of a div "after" the ajax response has been dumped into it. $('#target').html(msg); var current_height = $('#target').height(); This doesn't work. I would like to use⦠$('#target').html(msg,function(){ var current_height = $('#target').height(); }); But this doesn't work either. Any help would be greatly appreciated. Cheers.