Edit in JSFiddle

<div id="editable" contenteditable="true">The content of this div is editable</div>
<div id="noteditable" contenteditable="false">The content of this div is not editable</div>
<p id="forEditable"></p>
<p id="forNonEditable"></p>
$("#forEditable").html("<b>Is upper div editable : </b>" + $("#editable").attr("contenteditable"));

$("#forNonEditable").html("<b>Is upper div editable : </b>" + document.getElementById("noteditable").isContentEditable);