$(".loading").css("display", "block");
Then, to hide it after the data loads, you can use:
$(".loading").css("display", "none");
A better way would be using the following code.
$("#lui_gridName,#load_gridName").show();
"gridName" is the name of the grid.