The prompt() method displays a dialog box that prompts the visitor for input.
A prompt box is often used if you want the user to input a value before entering a page.
Note: When a prompt box pops up, the user will have to click either "OK" or "Cancel" to proceed after entering an input value. Do not overuse this method, as it prevents the user from accessing other parts of the page until the box is closed.
The prompt() method returns the input value if the user clicks "OK". If the user clicks "cancel" the method returns null.
En esta página del sitio puede ver el video en línea JavaScript How to Get Value From User Using JavaScript de Duración hora minuto segunda en buena calidad , que subió el usuario Softsite Technologies 23 septiembre 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7 veces y le gustó 0 a los espectadores. Disfruta viendo!