SOURCE

console 命令行工具 X clear

                    
>
console
$("input").get(0).addEventListener("input",function(e){
  
  $("p").text(e.target.value)
})
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
  <title>JS Bin</title>
</head>
<body>
<input type="text" style="width:100px;">
  <p></p>
</body>
</html>