Im using .net c# MVC3 Model. I need to show a gif called loading when I click save on the page. I used
<img src="sourcepath" alt="loading" style="display:none"/> and trying to display it whenever user clicks save button using jquery. I have stored the image temporarily in views folder. Unfortunately, i could not see image on the screen. I can see its division with a small red cross cancel button.
Ayuda de Pls
preguntado el 28 de agosto de 12 a las 15:08
If you're seeing the broken image icon, it means your src "sourcepath" is wrong. You would normally put static content in the Content folder of your site, and access it using
/Content/Images/imagename.jpg o similar.