Hey guys,
For some reason, I can't change the contents of a DIV in either IE or Firefox. Any ideas where I might be going wrong?
JavaScript
function displayTable() {
document.getElementById('retailerDiv').innerHTML = '<a>HEY!</a>';
}
HTML
<input type="text" id="userQuery" onkeydown="displayTable()"/>
<br/>
<div id="retailerDiv">
Now
</div>