How do you set the value of an input field using jQuery?
Description : Setting the value of an input field.
Answer :
To set the value of an input field using jQuery, use the `.val()` method with a parameter. For example, to set the value of an input field with the id 'myInput' to 'new value', you would write `$('#myInput').val('new value');`. This method updates the input field's value.