dar pastebejau kad del koduotes neduoda. Serveryje sedi utf-8 duomenys. jei be lietuvisku suvedi tada pradeda veikti, kas cia per nesamone "lens" <raimis200@gmail.com> wrote in message news:j2gsh3$a1d$1@trimpas.omnitel.net... > Kodel sitas kodas neveikia su IE8,7? su kitom narsyklem viskas gerai. > Daromi trys select box'ai. Uzkrovus puslapi pirma buna jau sukrautas is > db, pagal pirma isrenka antra ir t.t. > > > > <script language=Javascript> > function Inint_AJAX() { > try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) {} //IE > try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {} //IE > try { return new XMLHttpRequest(); } catch(e) {} //Native Javascript > alert("XMLHttpRequest not supported"); > return null; > }; > > function dochange(src, val) { > var req = Inint_AJAX(); > req.onreadystatechange = function () { > if (req.readyState==4) { > if (req.status==200) { > document.getElementById(src).innerHTML=req.responseText; > } > } > }; > req.open("GET", "technique.php?data="+src+"&val="+val); > req.setRequestHeader("Content-Type", > "application/x-www-form-urlencoded;charset=utf-8"); // set Header > req.send(null); > } > >