+ 1
WHAT? Where did THAT come from?!? (Re: Alert, Prompt, and {Confirm} <--hint, hint)
Hi again, everyone. I'm sorry I have to ask so many questions. Unfortunately, I have another question that I need help with, please. In the Alert...Confirm section of JavaScript, I saw a statement under the words that I (or even in the examples) had on my Confirm Box. It was a check box with the words, "prevent this page from creating additional dialogs," next to the check box. I looked everywhere! Please! Anybody! Where did that come from? And Why?
4 ответов
+ 5
The checkbox is simply something browsers add if the site sends too many JavaScript alerts. Imagine a pop-up ad that had infinite alert boxes, so you couldn't use your browser again until you reopened it. The box is just there to prevent that. :)
+ 3
Maybe you remember those prank websites from the early 2000s where they would just loop alert boxes forever until you forcefully closed the browser? Those were the worst.
I'm glad that checkbox is there now, and I'm glad you can't remove it :P
+ 1
Ohhhh! So it is entered by a computer/server- type entity (for lack of a better phrase) and NOT the programmer (or the "user/human" side of things). Now THAT makes sense (and is a great idea, especially the way that the both of you described it). I thought it was supposed to be something we were going to be typing into the code, somehow. See, there was my main confusion. I was looking everywhere for some hint of, likely, something I had missed, or so I had thought, and I must have spent nearly an hour looking through first, the JavaScript Tutorial, then the HTML & CSS Tutorials which I had already completed. It was a huge, frustrating mess. Thanks again, both of you!
+ 1
:D Glad I helped :)