Answers for "js detect if content editable div is empty"

0

js detect if content editable div is empty

if ($('#divThatYouCanWriteStuffIn').text().trim().length == 0) {
    alert("empty");
  }
Posted by: Guest on June-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language