<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.11.1/jquery.js"></script>
</head>
<body>
<input type="text" id="box" value="12233">
</body>
<script>
var arr =['你好帅啊','嘻嘻嘻嘻嘻','颠三倒四','水水水12啊水','嗯嗯开始的就是','水水水水']
setInterval(function(){
var index =Math.floor(Math.random()*arr.length)
// console.log(index,arr[index])
$('#box').val(arr[index])
},2000)
</script>
</html>