About 332,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 · Learn about the Window.prompt() method, including its syntax, code examples, specifications, and browser compatibility.

  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 null. …

  4. JavaScript Message Boxes: alert (), confirm (), prompt ()

    In JavaScript, global functions can be accessed using the window object like window.alert(), window.confirm(), window.prompt(). The alert() function displays a message to the user to …

  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. JavaScript Window.prompt() Method - Scaler Topics

    Nov 14, 2022 · window.prompt() method in JavaScript is used to display a dialog box that prompts the user to do some activity like entering a value, or pressing the "OK", or "Cancel" button. If …

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

    Feb 7, 2025 · A comprehensive guide to the JavaScript window.prompt() method, covering syntax, usage, and examples for displaying prompt boxes and handling user input.

  8. JavaScript window.prompt Guide: Learn How to Get User Input

    Apr 2, 2025 · In this article, we explore the window.prompt method in JavaScript. This method displays a dialog box that prompts the visitor for input, making it useful for simple user …

  9. JavaScript Window prompt() Method | CodeToFun

    Nov 21, 2024 · Explore interactive user input with the JavaScript Window prompt() method. Easily gather information through customizable pop-up prompts in your web applications. Enhance …

  10. Window: prompt () method - Web APIs | webdocs.dev

    Apr 8, 2023 · 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 text or …

  11. Some results have been removed
Refresh