I keep getting undefined with this script...
I
document.getElementById(new_id).style.top = Top; //Works Fine
document.getElementById(new_id).style.left = Left; //Works Fine
document.getElementById(new_id).style.backgroundColor = Background_Color; //Works Fine
document.getElementById(new_id).style.border = Border_Width+" "+Border_Type+" "+Border_Color; //Works Fine
new_code = document.getElementById(new_id); //Doesn't Work!!!!
document.write(new_code.value);
I style the element correctly, but when I want to write it I keep getting "undefined"?