startit/morse/view.js

4 lines
173 B
JavaScript

function updateView(){
app.innerHTML = '<input type="text" onchange="lettersFromInput=this.value"><button onclick="translator(lettersFromInput)">Button</button>';
}