how to change the contents of an input field with jquery code example Example: jquery change value of input $('selector').val('new value');