Hi, I've got this code:
The whole script is getting something, basically, and putting it onto the page... but it only puts it in an input box, not a div.Code:function setOutput(){ if(httpObject.readyState == 4){ document.getElementById('whatever').value = httpObject.responseText; } }
For example, it shows what I want with
But withCode:<input id="whatever" />
it does nothing... I'm a newbie with javascript so if anybody could help... thanks.Code:<div id="whatever"></div>





Reply With Quote


