xstr is a String that will be displayed in a new window until the "OK" button in that window is clicked. The value returned is undefined
xstr is a String that will be displayed in a new window as a prompt requesting text input. The default text input is given by the String pstr. When the user types in that input and clicks the "OK" button in that window, the resulting String is returned as the value of the function.
document.write(xstr) writes the String xstr into the browser window as part of the HTML text.
document.FormName.TextAreaName.value = xstr loads the designed text area with the String xstr.
Prepared by Herbert J. Bernstein
27 October 2004.
© 2004 Herbert J. Bernstein. All Rights
© 2004 Herbert J. Bernstein. All Rights Reserved.