<input type="text" id="item_2" name="item_2" > <input type="button" id="btn_item" > <script> $('#btn_item').click(function() { window.location.href = "***/checking/list-" + document.getElementById('item_2').value }); </script>