AlbertAguirre
Programmer
I wrote a function and I am passing my div layer id to it.
This works:
document.getElementById("myDivLayer").innerHTML=xmlHttp.responseText;
This does not:
document.getElementById(myDivVar).innerHTML=xmlHttp.responseText;
Why?
This works:
document.getElementById("myDivLayer").innerHTML=xmlHttp.responseText;
This does not:
document.getElementById(myDivVar).innerHTML=xmlHttp.responseText;
Why?