Is there anyway to make the textbox/input box in prompt multiline?...
I'm teaching myself JavaScript using Code Academy and I'm trying to make some simple code so that when prompt asks a question, the user reply gives a response.   example.  prompt says "what's your favourite colour?"  user says ...
I've found similar questions on the net, but not a viable solution to them.   My question, as the title suggests, is how could I leverage jQuery or Javascript to create a password prompt when, for example, a button is clicked.  So the following,...
I believe it's a scope issue because I tried setting my function userPrmpt inside firstPartCook and it works. I set it outside, and it doesn't. So it's reading, but not keeping what is returned. I thought by placing it in the test var tha...
I need prompt the visitor for an integer between 1 and 100 and to continue prompting until a valid number is entered.  Here is what I have:  <script>  var number = parseInt(prompt("Please enter a number from 1 to 100", ""));  if...
So, I have the code, its not done, but all i want it to do is display one alert box if I write the word 'help', and say something else if anything else is entered.   function prompter() { var reply = prompt("This script is made to help yo...
I am writing some bookmarklets here and I have some questions related to built-in javascript functions.  Let's say I want to replace the built-in prompt function (not necessarily in a bookmarklet).  That seems easy enough, but is there a way to c...
If I have a simple button in my html:  <button id="bgnBtn">Start Game</button>   and I want a prompt in my JS:  var userAdjective = prompt("Please provide an Adjective");   to initiate only after the button is clicked, how...
Significant amount of time taken by running Gulp task falls on such things like:   loading gulp tasks; importing node modules.   This can be optimized if instead of running each time gulp task_name we will run something that will load gulpfile.js and...
I am having trouble of understanding how the fb:prompt-permission work. I can have a link appear when the user click the fb:login-button either the user already logged in from facebook to our application or through our website. On the other hand, wit...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.