pass updated input text value to function in jquery code example Example: jquery change value of input $('selector').val('new value');