FYI, I figured out a solution.
The trick was to use setTimeout() to run the loading code as a separated process. $("#meter").attr("src","img/meter_on.gif").show('fast'); setTimeout("load_stuff_with_ajax",100); Thanks for youall's attempt to help. I appreciate your efforts. T.