« first day (1300 days earlier)      last day (2817 days later) » 

03:08
$(function () {
document.getElementById("hfimage").src = "servlet/ValServlet1?" +
"day=" + hfdate.substring(0, 8) +
"&hfdate=" + hfdate + "&time=" + time + "&areanum=" + areanum;
}
1 message moved from JavaScript
1 message moved from JavaScript
03:28
`document.getElementById("hfimage").src = "servlet/ValServlet1"`

The image from the servlet (Response content type : image/png) is getting loaded into the image tag. Is there any way I can capture the response? as I want to analyse the headers.
var b = 10
 
6 hours later…
user6171080
09:46
What's wrong with this JS? var extn = filename.split(".").pop();
var validFormats = ['mp3', 'wav'];
if validFormats.indexOf(extn) {
...
}
1 message moved from JavaScript
1 message moved from JavaScript
 
7 hours later…
16:27
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
3 hours later…
19:00
2 hours ago, by Johan Larsson
user image
19:57
1 message moved from WPF
1 message moved from WPF
 
2 hours later…
21:55
function GetDescription(imdbId)
{
var imdbContent = "";
$.ajax({
url: sourceUrl,
success: function (data) {
imdbContent = data.match("<meta property=\"og:description\" content=\"((?:.|\\n)*?)\" \/>")[1];
},
async: false
});
return imdbContent;
}
1 message moved from JavaScript

« first day (1300 days earlier)      last day (2817 days later) »