Mam takie pytanie ponieważ, jak wiecie IE wyświetla niektóre elementy lub i ich nie wyświetla. Mi o to, że Firefox, Opera oraz Safari wyświetlają zapytanie bez problemu, ale IE Jak zwykle ma to w d...
Czy ktoś może mi pomóc, ponieważ wyświetla błąd w linii 31 tego kodu:
var http = false; if(window.XMLHttpRequest) { http = new XMLHttpRequest(); }else if(window.ActiveXObject) { http = new ActiveXObject("Msxml2.XMLHTTP"); if(!http) { http = new ActiveXObject("Microstft.XMLHTTP"); } } function a() { http.open("GET","kalendarz.php?miesiac=Maj&rok=2009", true); http.onreadystatechange = calendarhtml; http.send(null); } function b(form) { var month = form.miesiac.options[form.miesiac.selectedIndex].text; http.open("GET","kalendarz.php?miesiac="+month+"&rok="+2009, true); http.onreadystatechange = calendarhtml; http.send(null); } function calendarhtml() { if(http.readyState == 4 && http.status==200) { document.getElementById('cal').innerHTML=http.responseText; //a dokładnie to tu } }
a kod html to:
Z góry dzięki
Pozdrawiam