function div2div () {
html_code = document.getElementById("div1").innerHTML;
document.getElementById("div2").value = html_code;
}
mein fehler :O
so is es richtig sry
function div2div () {
html_code = document.getElementById("div1").innerHTML;
document.getElementById("div2").innerHTML = html_code;
}