如题!!是在JS代码里 如何 获取 div 的 contentEditable内容 再提交。谁知道?
<html>
<head>
<title>获取显示 <DIV> contenteditable="true" 时 输入的内容</title>
</head>
<body>
<div id="kk" style="width:400px;height:300px;border:1px solid #999999;" contenteditable="true">
</div>
<input type="button" value="code" onclick="alert(document.getElementById('kk').innerHTML)" />
</body>
</html>