<div id="txt3" onclick="test()">kkkkkkkkkkkkkkkkkkkkkk</div>
<div id="txt2" onclick="test()">hhhhhhhhhhhhhhh</div>
<script language="JavaScript">
function test(){
document.getElementById('txt3').innerHTML = "11";
document.getElementById('txt2').innerHTML=document.getElementById('txt3').innerHTML;
}
</script>