<div id="txt" contenteditable="true"></div>
<button id="btn">Click</button>
#txt {
height: 30px;
border: 1px dashed grey;
}
$('#btn').on('click',function() {
var pastetext = clipboardData.getData("text/html");
$('#txt').html(pastetext);
});