<title>Test Live: jQuery Update Textbox on Typing Another Textbox on Keyup</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
$(document).ready(function(){
$('#first-textbox').keyup(function(event) {
var txtval = $(this).val();
$('#second-textbox').val(txtval);
<h1>jQuery Update One Textbox on Typing Another Textbox on Keyup</h1>
<input type="text" placeholder="Type here..." id="first-textbox"><br><br>
<input type="text" placeholder="This will automatically update" id="second-textbox">