About 538,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. How to take user input in JavaScript? - GeeksforGeeks

    Aug 13, 2024 · Taking user input allows your applications to be interactive and responsive. Here we will see the approach to take user input in JavaScript, specifically using the prompt …

  3. Tutorial: User Input in JavaScript | CodeHS

    Learn how to accept user input in your JavaScript programs. An important aspect of computer science is creating interactive programs for users. A large part of user interaction is allowing …

  4. How to Take Input in JavaScript from Users | Prime Inspire

    4 days ago · Learn how to take user input in JavaScript with examples! From prompt() to forms, this guide covers it all. Boost skills with our course!

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

  6. How to get user input from JavaScript console - sebhastian

    Jun 9, 2021 · There are two ways of getting user input from JavaScript depending on whether you want to get the input from the browser or NodeJS. This tutorial will help you to learn both. To …

  7. How to Use JavaScript Prompt for User Input – A Step-by-Step …

    In JavaScript, one of the ways to obtain user input is by using the prompt function. In this blog post, we will explore the ins and outs of JavaScript prompt for user input. We will cover its …

  8. How to Take Keyboard Input in JavaScript? - GeeksforGeeks

    Nov 30, 2024 · Whether you're creating a game, handling user login, or simply getting user preferences, JavaScript provides several ways to collect data from the keyboard. The prompt …

  9. User Input and Output in JavaScript - UniversalClass

    JavaScript has a few window object methods that you can use to interact with your users. The prompt () method lets you open a client-side window and take input from a user. For instance, …

  10. How to Get User Input in JavaScript - automateNow

    Jun 7, 2024 · One of the fundamental aspects of designing a web app involves gathering user input, which enables users to interact with and control the web application. This article will …

  11. Some results have been removed
Refresh