Computer Science, asked by purigotam52, 1 day ago

_______ is used to convert the text value into an integer value.

“window.prompt()” method is used for getting ________ from user.​

Answers

Answered by nitayadav109
1

Answer:

When the user clicks the OK button, text entered in the input field is returned. If the user clicks OK without entering any text, an empty string is returned. If the user clicks the Cancel button, this function returns null.

The above prompt appears as follows (in Chrome on OS X):

Answered by jagdeeshsingh8070
0

when the user click on the ok button, text entered in the input field is returned. if the user click ok without entering any text, an empty string is returned. if the user clicks the cancel button, this function returns null.

the above prompt appears as follow ( in chrome on os X )

Similar questions