When we paste data in input field, we can not fetch data from input field, it's always show blank;
function myFunction() {
      console.log(document.getElementById("inpt").innerText);
      document.getElementById("demo").innerHTML = document.getElementById("inpt").innerText;
}<input id="inpt"  type="text" onpaste="myFunction()" value="Try to paste something in here" size="40">
    
<p id="demo"></p> 
     
     
    