Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

copy two fields to one javascript

function generateFullName() {
  document.getElementById("username").innerText =
  document.getElementById("fName").value.toLowerCase() +
  "-" +
  document.getElementById("lName").value.toLowerCase();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #fields #javascript
ADD COMMENT
Topic
Name
8+3 =