How to delay execution in between the following in my javascript
<p>I want to delay execution in betwen the follwoing codes:</p>

<pre><code>$("#myName").val("Tom");
///delay by 3s
$("#YourName").val("Jerry");
//delay by 3s

$("#hisName").val("Kids");
</code></pre>
