js detect if content editable div is empty code example
Example: js detect if content editable div is empty
if ($('#divThatYouCanWriteStuffIn').text().trim().length == 0) {
alert("empty");
}
if ($('#divThatYouCanWriteStuffIn').text().trim().length == 0) {
alert("empty");
}