0
이 코드 부분은 모든 브라우저에서 작동하지만 IE에서는 작동하지 않습니다. 이 문제를 해결하도록 도와 주실 수 있습니까?ExternalInterface as3 및 ajax (jQuery)가 IE에서 작동하지 않습니다.
function getData(userId, instrumentId, minStep) {
alert(1); // worked!
console.log(userId, instrumentId, minStep);
$.ajax({
type: "POST",
url: '/controllers/ajax.php',
data: "instrument=" + instrumentId + '&user=' + userId,
dataType: 'json',
cache: false,
success: function(msg) {
alert(2); // doesn't work
document.getElementById("chart").dataFromJS(msg, minStep); // "chart" - id of flash player object loaded using swfobject
}
})
}
IE에서 작동하지 않는다고 말하면 오류 또는 문제가 무엇입니까? – JcFx
IE에서 지원되지 않기 때문에 console.log를 없애는 것으로 시작하겠습니다. – NoobsArePeople2