After pressing `button` I want to display in `input` in order & every two seconds the full list text `li`

`A -- B -- C -- D -- E`

I tried this but it's not working

```
 <button>show li in order every 2 seconds</button>

 <input type=text id="show" />

```

```js
$("button").on("click",function(){
   $(".menu li").each(function(){
    setTimeout(function() { $("show").($(this).text()); }, 2000);
  });
 });
```

```css
input{
width:40px;
height:40px;}
```

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<button>show li in order every 2 seconds</button>

<input type=text id="show" />
<ul class="menu">

<li>A</li>
<li>B</li>
<li>C</li>
<li>D</li>
<li>E</li>
</ul>
```