copy two fields to one javascript

Solutions on MaxInterview for copy two fields to one javascript by the best coders in the world

showing results for - "copy two fields to one javascript"
Abril
11 Jan 2020
1function generateFullName() {
2  document.getElementById("username").innerText =
3  document.getElementById("fName").value.toLowerCase() +
4  "-" +
5  document.getElementById("lName").value.toLowerCase();
6}