index1.php:
Kod
testowy news
index.php
<script type="text/javascript"> function plikacz() { var r = new XMLHttpRequest(); if(r) { r.onreadystatechange = function() { if (r.readyState == 4 && r.status == 200) { el = document.getElementById('siedem'); el.innerHTML = r.responseText; } } } r.open = ("GET", "index1.php", true); r.send = (null); } </script>
Co tutaj jest źle?