Something like this ?
It just says to add code similar to the following:
<script>
$('img').load(function() {
//Hide Loading Mask;
});
</script>
質問
I have the following code:
<img src="<%= Url.Action("LocationMap") %>" id="overlay" />
and it takes a little while for this to generate (as i am generating an image on the fly).
How can i show a "Loading . ." image or message, while this is being retrieved because right now it shows a broken image link until the image is loaded then it looks good . .
解決
Something like this ?
It just says to add code similar to the following:
<script>
$('img').load(function() {
//Hide Loading Mask;
});
</script>