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