0
I wanted to know how to make an image, or something, to indicate that the page is loading. I have a process that takes about 7 seconds and for the user not to keep clicking thinking it was not, I would like to display a loading image or something. Follow part of my code
<a onclick="Open('/CMS/Pedido/Index');" href="javascript:void(null);">Ver Pedidos</a>
I tried to add an image to the div but it didn’t go very well:
<script>
function Open(url) {
var img = $("<img />").attr('src', '~/Content/Images/loading.gif');
$("#Conteudo").clear().append(img);
$("#Conteudo").load(url);
}
</script>
http://answall.com/questions/12181/system_loadprogression_site/12187#12187 , now. You have a solution to this question
– user6026