25,900 results
Open links in new tab
  1. Window prompt () Method - W3Schools

    Description The prompt () method displays a dialog box that prompts the user for input. The prompt () method returns the input value …

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

    Aug 19, 2025 · window.prompt() instructs the browser to display a dialog with an optional message prompting the user to input some …

  3. Javascript Window prompt() Method - GeeksforGeeks

    Aug 5, 2025 · The window.prompt () method in JavaScript is a built-in function that displays a dialog box prompting the user to input …

  4. JavaScript Prompt - W3Schools

    JavaScript Prompt Try it

  5. 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.

  6. How to take user input in JavaScript? - GeeksforGeeks

    Jul 23, 2025 · Here we will see the approach to take user input in JavaScript, specifically using the prompt method, which is perfect …

  7. JavaScript Prompt Example - Online Tutorials Library

    Mar 15, 2026 · In this article, we will learn to use the prompt() function in Javascript. The prompt() method in JavaScript allows …

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

  9. Window:prompt () 方法 - Web API | MDN - MDN Web Docs

    window.prompt() 指示浏览器显示一个对话框,其中有一个可选的信息,提示用户输入一些文本,并等待用户提交文本或取消对话框。

  10. Working with Strings in JavaScript - What Is the prompt () Method, …

    The prompt () method is an important part of JavaScript's interaction with the user. It’s one of the simplest ways to get input from a …