Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to innerhtml is empty

element.innerHTML.length == 0 ? element.appendChild(createdEl) : (element.innerHTML = '', modalNote.appendChild(createdEl));
 
PREVIOUS NEXT
Tagged: #innerhtml #empty
ADD COMMENT
Topic
Name
2+7 =