I need to make an Ajax call to get the image source from the server side using ASP.NET C#.
I got below code example:
$('#popup-container').click(function() {
$.ajax({
type: "GET",
url: "img/popup_calculating.gif",
dataType: "image/gif",
success: function(img) {
i = new Image();
i.src = img;
$(this).append(i);
},
error: function(error, txtStatus) {
}
});
});
The above code want to implement using ASP.NET C# .aspx pages, but I do not able to understand for implementation, to call images from the server, My requirements are to develop like below.
http://epaper.deccanchronicle.com/epaper_main.aspx#page986808