Which JavaScript code segment shows the correct way to set the value of a field that is formatted as a single line of text?