$(document).ready(function(){
  $("input").keyup(function(){
    var txt = $("input").val();
    console.log(txt);
    
  });
});