Please tell me why I can not display the variable a?
xmlh=new XMLHttpRequest(); xmlh.onreadystatechange = function() { if (xmlh.readyState==4 && xmlh.status==200) { alert(a); } } xmlh.open('GET','first.php?a=22',true); xmlh.send();
how to do it?
Please tell me why I can not display the variable a?
xmlh=new XMLHttpRequest(); xmlh.onreadystatechange = function() { if (xmlh.readyState==4 && xmlh.status==200) { alert(a); } } xmlh.open('GET','first.php?a=22',true); xmlh.send();
how to do it?
Source: https://ru.stackoverflow.com/questions/315025/
All Articles