showing results for - "create label dynamically in javascript"
Juan Pablo
09 Jul 2017
1var newlabel = document.createElement("Label");
2newlabel.setAttribute("for",id_from_input);
3newlabel.innerHTML = "Here goes the text";
4parentDiv.appendChild(newlabel);