EDITABLE CODE:
LiveDemo:jQuery - Set Value with val() Method
Note:It is typically used to set the values of form fields.