I have created a textbox using JavaScript
var textInput = document.createElement("input");
Now I want to get text from that textfield in JavaScript.
How can I get it?
i have tried with defining Input.id = 'inp' and var get = document.querySelector("#inp").value; but cant get solution.