Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a String containing the contents of the text box. title Optional. String expression displayed in the ...