I was trying to figure out how to auto-populate the input value base on what was entered in another input field using javascript. Here\'s my code:
The onchange event should be used in the tags themselves and not in the .
onchange