About 373,000 results
Open links in new tab
  1. How to get user input from javascript form? - Stack Overflow

    Jan 3, 2018 · How to I get user input from a form and put it into a variable ?

  2. How do I get the value of text input field using JavaScript?

    Jul 19, 2012 · There are various methods to get an input textbox value directly (without wrapping the input element inside a form element): Method 1 …

  3. Get user input through Node.js console - Stack Overflow

    Apr 23, 2020 · I have just started using Node.js, and I don't know how to get user input. I am looking for the JavaScript counterpart of the python function input() or the C function gets. …

  4. How to get numeric value from a prompt box? - Stack Overflow

    Jul 28, 2013 · I was trying to do some simple mathematical calculations in HTML and jQuery and JavaScript, so I wanted to get input from user. For input I tried doing this : var x = …

  5. javascript - User text input with an if statement - Stack Overflow

    Mar 23, 2013 · This Stack Overflow page discusses using JavaScript to handle user text input with if statements, providing examples and solutions for developers.

  6. Sanitizing user input before adding it to the DOM in Javascript

    However whilst this is enough to put your user_id in places like the input value, it's not enough for id because IDs can only use a limited selection of characters.

  7. How to take keyboard input in JavaScript? - Stack Overflow

    Nov 28, 2015 · I want to take keyboard input in JavaScript, where arrow keys, when pressed, will result in the change in shape of a particular shape. How do I take the input of any of the keys …

  8. HTML how to clear input using javascript? - Stack Overflow

    Learn how to clear input fields using JavaScript in HTML.

  9. JavaScript - Add Value from input box to array - Stack Overflow

    Nov 2, 2017 · You mean the user enters multiple values into the “box” input field? So is this about splitting the string into tokens?

  10. How to get input via a popup and place text in a variable via ...

    Jul 6, 2012 · I have a button on my page. When clicked a popup box should appear allowing the user to enter text. When OK/Submit is pressed, my jscript will then perform some functions …