Get the value in an input text box by Tarik //Get var bla = $('#txt_name').val(); //Set $('#txt_name').val(bla);