Is there a prompt limit in javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a prompt limit in javascript?

A web code I'm writing requires answers to questions , I'd like to use JavaScript prompts to ask these questions however I only get to 3 prompts before they stop showing up.

10th Jan 2018, 10:21 AM
Lane Willmore
Lane Willmore - avatar
3 Answers
+ 11
No significant limit. others have done more than 10 prompts they work fine. post your code we will check.
10th Jan 2018, 12:30 PM
Lord Krishna
Lord Krishna - avatar
+ 1
ah, I apologize. I've already revised my code to make it work. I got rid of the prompts and went with a different method.
10th Jan 2018, 12:33 PM
Lane Willmore
Lane Willmore - avatar
+ 1
Browsers usually provide a check box inside alert/prompt/confirm box to disable them (in few bad coding cases, the modal windows could chain too quickly to be interrupted by user ^^)... Unfortunally, reloading the page will not reset its specific value, and modal windows doesn't have a simple way to allow again them :( (maybe clearing some browser cache will do the trick, changing the name of a the source file also)
10th Jan 2018, 2:03 PM
visph
visph - avatar