It's window.prompt("message", "default"), where message is the text on the box, default is the default text in the user input area. It returns the string the user typed, an empty string if they didn't type anything, and null if they clicked cancel.
|
Results 1 to 3 of 3
Thread: Javascript VERY newbieThreaded View
|
Click Here to Expand Forum to Full Width |