I am getting data from server. The data contains many images and some other html elements. when replacing the contents of div with the server response, it always flicker within the div.
$('#div').html(serverResponse);
I also followed this method : How to avoid blinking when updating page from ajax but still it is blinking
How can I prevent the blinking.