I have this Ajax query to a html page but it always fails. The html page is something like this
only has a <h1>
tab with some text.
Can anyone tell me why this is happening
$.ajax({
url: "http://localhost:8080/FindMySize/src/main/webapp/WEB-INF/jsp/result.html",
success: function(data) {
$('#stage').html(data);
},
error: function(data) {
$('#stage').html("AS");
}
});