function GetQuestInfo() {
if ($("#quest :selected")[0] !=null) {
var questNum = $("#quest :selected")[0].id;
$("#loading").css('display', 'block');
}
if (myQuery && myQuery.readystate != 4) {
myQuery.abort();
}
if (questNum != null) {
myQuery = $.ajax({
type: 'GET',
url: '/Features/_TimedQuest',
dataType: "text",
async: true,
data: {
QuestNum: questNum
},
contentType: "text/html; charset=utf-8",
success: function (result) {
$("#loading").css('display', 'none');
$("#DivList").html(result).fadeIn("slow");
if (window.pageYOffset < 300) {
$('html,body').animate({ scrollTop: $("#DivList").offset().top - 250 }, 'slow');
}
},
error: function (result) {
// alert('bir hata olustu');
}
});
}
}arkadaşlar yukarıdaki kod ile /Features/_TimedQuest den veri çekiyor oradaki dosya nedir içeriği nasıldır bilgisi olan yardımcı olabilir mi?
PHP de javascript içinde ajax ile veri çekme yardım
6
●176
- 05-12-2022, 03:00:00
- 05-12-2022, 03:03:18projeniz localde veya sunucu da çalışıyorsa tarayıcıya yazıp içeriğini görebilirsiniz
- 05-12-2022, 03:12:16Postman ile yolladığı parametreleri göndererek get requesti oluşturup response olarak ne dönüyor görebilirsiniz.Misafir adlı üyeden alıntı: mesajı görüntüle
- 05-12-2022, 03:49:15Cüzzi rakamlara yardımcı olabilirim hocam ulaşınMisafir adlı üyeden alıntı: mesajı görüntüle