Forum Moderators: open
if(xhr.readyState == 4)
{
if(xhr.status == 200)
{
document.getElementById("dtk").innerHTML = "<img src='images/tk.jpg'>";
document.getElementById("dab").innerHTML = "<img src='images/ab.jpg>";
document.getElementById("dgs").innerHTML = "<img src='images/gs.jpg>";
} }
It sets the innerHTML of first DIV only nd it does not read or set the innerHTML of the rest of the two. I m failed to figure out the reason. Kindly guide