how to set value for input field in jquery code example Example: jquery change value of input $('selector').val('new value');