About 1,050,000 results
Open links in new tab
  1. Window prompt () Method - W3Schools

    The prompt() method displays a dialog box that prompts the user for input. The prompt() method returns the input value if the user clicks "OK", otherwise it returns null.

  2. Window: prompt () method - Web APIs | MDN - MDN Web Docs

    Feb 20, 2025 · window.prompt() instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the …

  3. Javascript Window prompt() Method - GeeksforGeeks

    Sep 23, 2024 · The prompt () method in JavaScript displays a dialog box that prompts the user for input. The prompt () method returns the input value when the user clicks "OK" else returns …

  4. Learn JavaScript prompt By Practical Examples

    In this tutorial, you will learn how to use the JavaScript prompt () method to display a dialog with a message prompting for user input.

  5. JavaScript | window | prompt() | Codecademy

    Jun 2, 2023 · The prompt() function is a built-in JavaScript method that displays a modal dialogue box prompting the user for input. It is part of the Web API, provided by the browser’s window …

  6. W3Schools Tryit Editor

    The W3Schools online code editor allows you to edit code and view the result in your browser

  7. JavaScript Window prompt () Method: Displaying Prompt Box

    Feb 7, 2025 · The window.prompt() method in JavaScript is used to display a dialog box that prompts the user for input. This method is a simple way to gather information from users, such …

  8. JavaScript prompt () Method: The Ultimate Guide to User Input …

    Jan 26, 2024 · The prompt () method in JavaScript is a classic way to display a dialog box that prompts the user for input. It's a simple, built-in function of the window object, making it readily …

  9. JavaScript Prompt - Quackit Tutorials

    The JavaScript prompt box prompts the user to input text. The 'prompt' box is created using JavaScript's built-in prompt() function. When the JavaScript prompt () function is triggered, a …

  10. JavaScript prompt - Dialog box - w3resource

    Aug 19, 2022 · To interact with the user we use prompt (), which asks the visitor to input some information and stores the information in a variable.

  11. Some results have been removed
Refresh