0
で働いていない、これは正常に動作します:Data.ForEachは、私がデータ配列をループにしようとしているIE
data.forEach((entry) => {
if(entry[1]) {
window.optionsAv = 1;
window.optionsAmnt = window.optionsAmnt + 1;
$('#timeswrap').show();
$('#tijden').append("<option class='single-tijd' data-optieId='" + entry[3] + "'>" + entry[0] + "</option>");
} else {
}
})
をしかし、Internet Explorerで動作するようには思えません。 もっと良い解決策は何でしょうか?
正確にはどのようなエラーですか?どのバージョンのInternet Explorerについて話していますか? IE8とIE Edgeの間には大きな違いがあります。 – Pointy
どのバージョンのIE? – Laazo
http://caniuse.com/#search=foreach –